Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

1.24.403.1: Unable to meet dependencies for DSCParser

Open adhodgson1 opened this issue 2 years ago • 7 comments

Get-InstalledModule -name "microsoft365dsc" |select "version"

Version 1.24.403.1

Update-M365DSCDependencies Installing DSCParser version {2.0.0.3} PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'DSCParser'. Try Get-PSRepository to see all available registered module repositories. Any run then throws an error because of the missing dependency.

adhodgson1 avatar Apr 04 '24 11:04 adhodgson1

Same issue here, fixed this locally by changing the version in the manifest file under dependencies and running Update-M365DSCDependencies.

JIO-CIPP avatar Apr 04 '24 11:04 JIO-CIPP

Same issue here as well. Can this change be made in the module itself ?

jagatjb avatar Apr 04 '24 12:04 jagatjb

Same issue here as well. Can this change be made in the module itself ?

https://github.com/microsoft/Microsoft365DSC/blob/f6b0958fbcfa2fb64c88dbd5b6b43834fd566f73/Modules/Microsoft365DSC/Dependencies/Manifest.psd1#L4-L5 2.0.0.2 is the newest here https://www.powershellgallery.com/packages/DSCParser/

The last M365DSC release actually used 1.4.0.4...

ssoabx avatar Apr 04 '24 12:04 ssoabx

Same issue here

Borgquite avatar Apr 04 '24 13:04 Borgquite

Same issue here as well. Could the library DSCParser be updated in the PS Gallery? FYI: @NikCharlebois, @ykuijs

Ben-m-s avatar Apr 04 '24 16:04 Ben-m-s

Looks like 2.0.0.3 has been updated now.

ssoabx avatar Apr 04 '24 16:04 ssoabx

Correct, DscParser v2.0.0.3 has been published. Sorry for the inconvenience!

ykuijs avatar Apr 05 '24 06:04 ykuijs