-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js package versions with Switches
field are all broken
#4360
Comments
I'm happy to fix the manifests, but I'm unable to reproduce this...
Can you post the log file that WinGet gave you the path for? That may help track down the discrepancy. |
Did you run the terminal app with admin privilege? Because doing so makes it succeed. I guess
|
Yes, I did. Now that I think about it, Node didn’t install on my host without running PowerShell as admin, so that must be what it is. Looks like the resolution to this is being tracked in microsoft/winget-cli#152, since when that attribute is added this can be fixed in a more user friendly way. |
Yes, that would be great! Can we remove |
Alright, I've fixed this for all of the affected LTS and normal (i.e. not nightly) builds. Once they are merged you should be good to go. |
Just to be clear. The removal of the /Q will not change the behavior. By default we will do MSI silently. So we are stuck with the 1603 when not run in a non-administrative prompt. |
Could you explain why 14.12.0 is not getting the silent behavior then? Sounds like it should be silent but it's not. Making it non-silent is the sole reason why I didn't include Or do you mean the future versions of winget? |
15.0.1 installs without any problem, thank you @jedieaston! (Oops actually it's @ItzLevvie, thank you too 👍) |
Brief description of your issue
For example, installing Node.js 14.14 throws:
... while installing 14.12 is okay:
Steps to reproduce
winget install Node.js -v 14.14.0
Expected behavior
It should succeed
Actual behavior
Installer failed with exit code: 1603
Environment
Pinging contributors who add
Switches
: @jedieaston @ItzLevvieThe text was updated successfully, but these errors were encountered: