-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
nvm install Argon
etc works, and should not
#3474
Comments
Your default version is set to “Jod”, which isn’t a thing - perhaps you want |
Thanks! That solved the issue. So the problem is elsewhere. Now I remember that I didn´t |
I agree - it shouldn’t have been able to install it at all. If you, eg, run |
~$ nvm install Argon
Downloading and installing node v4.9.1...
Downloading https://nodejs.org/dist/v4.9.1/node-v4.9.1-linux-x64.tar.xz...
################################################################################################################################################################# 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v4.9.1 (npm v2.15.11) but: ~$ nvm uninstall Argon
N/A version is not installed... |
and |
if so, then the bug is that it allows you to install based on the LTS name alone in the first place :-) and let's update this issue to reflect that. |
Indeed.
What do you mean with 'update this issue'? |
nvm install Argon
etc works, and should not
Ah, I see. |
Operating system and version:
Ubuntu server 24.04.1, x86-64, clean install, removed snapd and unattended-updates
nvm debug
output:nvm ls
output:How did you install
nvm
?curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
What steps did you perform?
install nvm, execute
nvm install 22
logout, login (over ssh, headless box)
What happened?
It downloaded node, but it doesn't seem to 'know' it. The node directory in ~/.nvm isn't added to PATH.
What did you expect to happen?
Being able to run node.
Is there anything in any of your profile files that modifies the
PATH
?No. Virgin system.
Additional info:
I have tried older versions of the nvm script. Didn't help.
I can run node, when I execute 'nvm use 22'. Then the PATH is changed, until next logout/login.
As a test I added 'set -x' in .bashrc before the 3 added lines. The output on login:
The text was updated successfully, but these errors were encountered: