You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource below produces the following verbose output when a configuration is applied:
[DSCTEST]: LCM: [ Start Resource ] [[PSModule]Tooling]
[DSCTEST]: LCM: [ Start Test ] [[PSModule]Tooling]
[DSCTEST]: [[PSModule]Tooling] Begin invoking get-module 'tooling'
[DSCTEST]: [[PSModule]Tooling] Module 'tooling' not found in the node
[DSCTEST]: [[PSModule]Tooling] Resource 'tooling' is not in the desired state
[DSCTEST]: LCM: [ Start Set ] [[PSModule]Tooling]
[DSCTEST]: [[PSModule]Tooling] "Call a function 'ValidateArgument'".
[DSCTEST]: [[PSModule]Tooling] Finding the package 'Bootstrap::FindPackage' 'PSModule','','0.0.0.1','''.
[DSCTEST]: [[PSModule]Tooling] Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
[DSCTEST]: [[PSModule]Tooling] Cannot download link 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409', retrying for '2' more times
[DSCTEST]: [[PSModule]Tooling] Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
[DSCTEST]: [[PSModule]Tooling] Cannot download link 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409', retrying for '1' more times
[DSCTEST]: [[PSModule]Tooling] Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
[DSCTEST]: [[PSModule]Tooling] Cannot download link 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409', retrying for '0' more times
[DSCTEST]: [[PSModule]Tooling] Source '' not found. Please make sure you register it.
[DSCTEST]: [[PSModule]Tooling] Begin invoking find-module 'tooling'
[DSCTEST]: [[PSModule]Tooling] Begin invoking install-module 'tooling' version '1.0.0.27' from 'InternalNuget' repository
[DSCTEST]: [[PSModule]Tooling] Successfully installed the module 'tooling'
[DSCTEST]: LCM: [ End Set ] [[PSModule]Tooling] in 9.4530 seconds.
Based on the log, it looks like the PowerShellGet (PSModule) provider is asking OneGet to bootstrap the NuGet provider. PowerShellGet uses the NuGet provider for downloading packages. That's why it reach out to external. Likely you may not have the NuGet provider installed on your machine.
To avoid that, you can download the NuGet provider first. For example, on a clean machine, you can do "find-module xjea", which will bootstrap the NuGet provider for you.
For more information, please see
From @rdean716 on May 12, 2016 19:35
The resource below produces the following verbose output when a configuration is applied:
[DSCTEST]: LCM: [ Start Resource ] [[PSModule]Tooling]
[DSCTEST]: LCM: [ Start Test ] [[PSModule]Tooling]
[DSCTEST]: [[PSModule]Tooling] Begin invoking get-module 'tooling'
[DSCTEST]: [[PSModule]Tooling] Module 'tooling' not found in the node
[DSCTEST]: [[PSModule]Tooling] Resource 'tooling' is not in the desired state
[DSCTEST]: LCM: [ Start Set ] [[PSModule]Tooling]
[DSCTEST]: [[PSModule]Tooling] "Call a function 'ValidateArgument'".
[DSCTEST]: [[PSModule]Tooling] Finding the package 'Bootstrap::FindPackage' 'PSModule','','0.0.0.1','''.
[DSCTEST]: [[PSModule]Tooling] Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
[DSCTEST]: [[PSModule]Tooling] Cannot download link 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409', retrying for '2' more times
[DSCTEST]: [[PSModule]Tooling] Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
[DSCTEST]: [[PSModule]Tooling] Cannot download link 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409', retrying for '1' more times
[DSCTEST]: [[PSModule]Tooling] Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
[DSCTEST]: [[PSModule]Tooling] Cannot download link 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409', retrying for '0' more times
[DSCTEST]: [[PSModule]Tooling] Source '' not found. Please make sure you register it.
[DSCTEST]: [[PSModule]Tooling] Begin invoking find-module 'tooling'
[DSCTEST]: [[PSModule]Tooling] Begin invoking install-module 'tooling' version '1.0.0.27' from 'InternalNuget' repository
[DSCTEST]: [[PSModule]Tooling] Successfully installed the module 'tooling'
[DSCTEST]: LCM: [ End Set ] [[PSModule]Tooling] in 9.4530 seconds.
The resource should not attempt to connect to an external resource when an internal repository is specified and is available.
Copied from original issue: PowerShell/PackageManagementProviderResource#14
The text was updated successfully, but these errors were encountered: