You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deleted ~/.npmrc and removed nvm sourcing from ~/.zshrc since it's handled by zsh-nvm
Had issues with nvm for months so only used system node/npm until recently. Now that latest icu & http-parser libs used by other packages break node 10, I need to constantly downgrade/reupgrade the libs to switch between node 10 & 11, which is too much hassle, so I tried to come back to nvm and spent the morning trying to solve this nvm is not compatible with the npm config "prefix" option: currently set to "" error.
Hello,
FYI I got the same issue, and fix it (remove nvm from brew and replace it with current plugin) and by checking my $HOME (case sensitive) value.
See my comment here
By the way, as I got the problem installing nvm whether, through the script, zsh plugin, or brew, it's not related to this repo, so you should close the issue.
~/.npmrc
and removed nvm sourcing from~/.zshrc
since it's handled by zsh-nvmnvm is not compatible with the npm config "prefix" option: currently set to ""
error.zgen load lukechilds/zsh-nvm
From this, I understand that
NPM_CLI_JS
has a duplicatednode_modules/npm/bin/
in its pathSo, the problem is with
/usr/bin/env
? I don't know how to debug this further :(more details
Related issues:
nvm is not compatible with the npm config "prefix" option: currently set to ""
nvm-sh/nvm#1968The text was updated successfully, but these errors were encountered: