-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Issue]: It doesn't install the runtime, although saying it did. (no admin privileges, powershell) #1241
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
Comments
Hi @jonasfroeller! I had that same problem and fixed by running powershell with admin privileges. If that's an option for you, probably that may solve. |
@developerantoniosousa Yes, that worked for me too! Thank you for your comment. I included that in "Anything else?". The main issue and the reason why I created this issue is the lack of feedback when it doesn't work without administrator privileges. |
Same here. If I run it as an admin, it works, but if I run it as a normal user, I get the error: |
I think it's reasonable to request a more specific error message. The root cause of a failure is not always immediately clear. For example, the error returned by the OS may be that it cannot write to disk. That could be a permission issue, but it could also be a networking issue (mapped drives/USB drive, etc). We'd need to run a battery of tests to determine the root cause. This is something I'd very much like to add, but I'm not sure when I'll have time to do it. |
I even ran with admin and it didn't work for me, I ended up having to revert to 1.1.x where it does work for me. |
nvm install v20.19.0
Downloading node.js version 20.19.0 (64-bit)...
Extracting node and npm...
Complete
Installation complete.
If you want to use this version, type:
nvm use 20.19.0
nvm list
* 22.14.0 (Currently using 64-bit executable)
nvm i 20
Downloading node.js version 20.19.0 (64-bit)...
Extracting node and npm...
Complete
Installation complete.
If you want to use this version, type:
nvm use 20.19.0
nvm list
* 22.14.0 (Currently using 64-bit executable)
20.19.0 |
In admin mode: Downloading node.js version 22.15.0 (64-bit)...
Extracting node and npm...
Complete
Installation complete.
If you want to use this version, type:
nvm use 22.15.0
PS C:\Windows\system32> nvm use 22.15.0
activation error: Version not installed. Run "nvm ls" to see available versions.
PS C:\Windows\system32> nvm ls
No installations recognized. BUT when I did it like this it worked:
|
i had same problem,and i tried all the means as this issue's comments,at last, your method worked for me. |
The good thing about this is after performing it the way I suggested, afterwards works fine when installing a specific versions :) |
Another data point in case it helps: When trying to install Node.js v22.11.0 with NVM v1.2.2, |
Uh oh!
There was an error while loading. Please reload this page.
What happened?
What did you expect to happen?
The version to be installed, if no errors are being thrown.
Version
1.2.0 or newer (Default)
Which version of Windows?
Windows 11+ (Default)
Which locale?
Western European
Which shell are you running NVM4W in?
PowerShell
User Permissions?
Standard Use, Non-Elevated
Is Developer Mode enabled?
Yes
Relevant log/console output
Debug Output
Anything else?
It works, when I run it as admin, but I expected some sort of error to be thrown, that I don't have the privileges.
The text was updated successfully, but these errors were encountered: