I've encountered an issue. When I run nvm install --lts I get an error saying that I don't have it installed even tho I just did the commands all right without errors and I regularly have node installed as I am a we developer.
nvm install --lts
It's kind of difficult to find it out only with the information you gave me...
Have you forgotten the step for adding the path variable to .zshrc, maybe?
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
It may be also that you .zshrc wasn't saved before you tried to run nvm.
Also, if you changed the file structure to remove the mnt/, it may cause some issues.
mnt/
I hope this helps, but I'm really in the dark here, 😅
I was having the same issue. If you read the prompt after installing nvm from the repo it says you need to close the terminal or run the below script.
I closed and reopened and nvm installed successfully
I hope this helps!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I've encountered an issue. When I run
nvm install --lts
I get an error saying that I don't have it installed even tho I just did the commands all right without errors and I regularly have node installed as I am a we developer.
It's kind of difficult to find it out only with the information you gave me...
Have you forgotten the step for adding the path variable to .zshrc, maybe?
It may be also that you .zshrc wasn't saved before you tried to run nvm.
Also, if you changed the file structure to remove the
mnt/
, it may cause some issues.I hope this helps, but I'm really in the dark here, 😅
I was having the same issue. If you read the prompt after installing nvm from the repo it says you need to close the terminal or run the below script.
I closed and reopened and nvm installed successfully
I hope this helps!