-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Found this problem when running SqlServerDsc's build pipeline. The module version of xDSCResourceDesigner is 1.13.0.0, but ModuleFast are extracting the files into the module version folder 1.13.0 so the installed module is never found e.g. using Get-Module -Name xDSCResourceDesigner -ListAvailable. Changing the module version folder to 1.13.0.0 (same as module manifest version) the module is found and can be used.
PS> Install-ModuleFast -Specification 'xDSCResourceDesigner' -Destination './output/RequiredModules' -NoProfileUpdate -NoPSModulePathUpdate -Update -Verbose -Debug -Confirm:$false
DEBUG: Flushing ModuleFast Request Cache
VERBOSE: xDSCResourceDesigner: Evaluating Module Specification
DEBUG: xDSCResourceDesigner: Skipping PSModulePath /Users/johlju/source/SqlServerDsc/output/builtModule - Configured but does not exist.
DEBUG: xDSCResourceDesigner: Skipping PSModulePath /Users/johlju/source/SqlServerDsc/output/RequiredModules - Does not have this module.
DEBUG: xDSCResourceDesigner: Skipping PSModulePath /Users/johlju/.local/share/powershell/Modules - Does not have this module.
DEBUG: xDSCResourceDesigner: Skipping PSModulePath /usr/local/share/powershell/Modules - Does not have this module.
DEBUG: xDSCResourceDesigner: Skipping PSModulePath /usr/local/microsoft/powershell/7/Modules - Does not have this module.
DEBUG: xDSCResourceDesigner: 🔍 No installed versions matched the spec. Will check remotely.
DEBUG: xDSCResourceDesigner: fetch registration index from https://pwsh.gallery/index.json
DEBUG: xDSCResourceDesigner: fetch info from https://pwsh.gallery/xdscresourcedesigner/index.json
DEBUG: xDSCResourceDesigner: Processing Response
DEBUG: xDSCResourceDesigner: Received Response with 2 pages
DEBUG: xDSCResourceDesigner: Found satisfying version 1.13.0.0 in the inlined index.
VERBOSE: xDSCResourceDesigner(1.13.0.0): Added to install plan
VERBOSE: Performing the operation "Install 1 Modules" on target "/Users/johlju/source/SqlServerDsc/output/RequiredModules".
VERBOSE: xDSCResourceDesigner(1.13.0.0): Downloading from https://www.powershellgallery.com/api/v2/package/xDSCResourceDesigner/1.13.0
VERBOSE: xDSCResourceDesigner(1.13.0.0): Extracting to /Users/johlju/source/SqlServerDsc/output/RequiredModules/xDSCResourceDesigner/1.13.0
VERBOSE: xDSCResourceDesigner(1.13.0.0): Installed to /Users/johlju/source/SqlServerDsc/output/RequiredModules/xDSCResourceDesigner/1.13.0
VERBOSE: ✅ All required modules installed! Exiting. Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working