-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Resolution-DuplicateThe issue is a duplicate.The issue is a duplicate.
Description
Steps to reproduce
Test-ModuleManifest xxx.psd1Expected behavior
The test gets passed.
Actual behavior
Test-ModuleManifest : The specified RequiredModules entry 'Az' in the module manifest 'xxx.psd1' is invalid. Try again after updating this entry with valid values.
At line:1 char:1
+ Test-ModuleManifest xxx.psd1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (xxx.psd1:String) [Test-ModuleManifest], DirectoryNotFoundException
+ FullyQualifiedErrorId : Modules_InvalidRequiredModulesinModuleManifest,Microsoft.PowerShell.Commands.TestModuleManifestCommand
Environment data
Name Value
---- -----
PSVersion 6.1.2
PSEdition Core
GitCommitId 6.1.2
OS Linux 4.15.0-1036-azure #38~16.04.1-Ubuntu SMP Fri Dec 7 03:21:52 UTC 2018
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Emergency
This is effectively blocks a module that depends on Az - the Azure PowerShell module, because when Publish-Module the new module, Test-ModuleManifest is triggered and the failure blocks the publish, we're developing a new module on Az and plan to deliver it to customer in one week, but are stuck at this!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution-DuplicateThe issue is a duplicate.The issue is a duplicate.