Open AaronMcCloskey opened 3 years ago
What happens if you install the latest version?
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
The issue is that you have $HOME/.npm in your PATH. That directory is npm’s cache directory and should never be directly used by users.
The issue is that you have $HOME/.npm in your PATH. That directory is npm’s cache directory and should never be directly used by users.
I had removed that and ran
source ~/.zshrc
still had the same issues.
What happens if you install the latest version?
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
This seems to have worked for now.
However, I did also do the following https://github.com/nvm-sh/nvm/issues/298#issuecomment-30654686
You shouldn't need --delete-prefix
either - does it work without that?
Operating system and version:
nvm debug
output:nvm ls
output:How did you install
nvm
?What steps did you perform?
Running
returns
Running
returns the
Cannot find module 'npmlog'
errornvm current
When I run
I no longer see the
nvm
path to npm?I used to see
If I install a new version of node, it works, but when I close my terminal and reopen, I'm back to square one.
returns
and
seems to not be targeting
nvm
What happened?
Still getting the same error attempting to find
npmlog
moduleWhat did you expect to happen?
No error message on all node/npm related commands
Is there anything in any of your profile files that modifies the
PATH
?.zshrc
If you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/
print out?