Sitelet https://github.com/JustinGrote/ModuleFast/issues/98
Skip to content

Install-moduleFast seems to drop off trailing .0 in module directory when installing. #98

Description

@AHelsby

Used install-modulefast to install the connectwisemanageapi module. This is currently 0.4.15.0 but it got installed to 0.14.15 directory (with no trailing 0.
The module then (silently) fails to import
Importing the module with the full path, then generates the following.
import-module "C:\Users\me\AppData\Local\powershell\Modules\ConnectWiseManageAPI\0.4.15\ConnectWiseManageAPI.psd1"
Import-Module: The ModuleVersion key in module manifest 'C:\Users\me\AppData\Local\powershell\Modules\ConnectWiseManageAPI\0.4.15\ConnectWiseManageAPI.psd1' specifies module version '0.4.15.0' which does not match its version folder name at 'C:\Users\me\AppData\Local\powershell\Modules\ConnectWiseManageAPI\0.4.15'. Change the value of the ModuleVersion key to match the version folder name.

I renamed the folder to 0.4.15.0 and the module is now importable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions