-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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 can't ls or use #434
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I installed nvm via the wget command from my user (not root/sudo)
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.7.0/install.sh | sh
It was not automatically added to my zsh. I had to run source ~/.nvm/nvm.sh
Then I proceeded to install node 0.10.28
It node worked fine.
I rebooted.
Now after opening the terminal and running source ~/.nvm/nvm.sh
the nvm command produces the nvm menu.
But nvm ls or nvm use 0.10.28 produces this error:
mdm
mkdir: cannot create directory ‘/etc/mdm/alias’: Permission denied
if I open a sudo -s terminal then nvm ls shows 0.10.28 and use nvm 0.10
but running the use command from there is not the right way to do things.
What can I do?
why is NVM trying to write to /etc/mdm/alias. Seems very strange. It never did that before... :/
I guess I'll have to use an older version of nvm in the mean time
The text was updated successfully, but these errors were encountered: