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
I was trying to install newtonsoft.json using Install-Module. But was getting the error Dependency loop detected for package newtonsoft.json. Since there is no -SkipDependencies parameter in Install-Module, switched Install-Package command.
I was trying to install newtonsoft.json using Install-Module. But was getting the error Dependency loop detected for package newtonsoft.json. Since there is no -SkipDependencies parameter in Install-Module, switched Install-Package command.
Tried to install using Install-Package,
Install-Package -Name Newtonsoft.Json -Source PSGalleryUpstream -Credential $myCredentialsObject -Scope CurrentUser -Force -SkipDependencies;
Result
According to the documentation: https://learn.microsoft.com/en-us/powershell/module/packagemanagement/install-package?view=powershellget-2.x#-skipdependencies, -SkipDependencies is a parameter for Install-Package (PackageManagement)
Environment
If I have to continue with Install-Module, what are the dependency packages I need to install to skip the deadlock.
The text was updated successfully, but these errors were encountered: