-
-
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
Error: Cannot find module 'npmlog' - zsh #2441
Comments
What happens if you install the latest version?
|
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
still had the same issues. |
This seems to have worked for now. However, I did also do the following #298 (comment) |
You shouldn't need |
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?The text was updated successfully, but these errors were encountered: