Closed liebsoer closed 4 years ago
Note that nvm is explicitly not supported when installed via homebrew. Can you brew uninstall it, and install it using one of the documented methods?
Also, "auto switch on cd
" isn't built into nvm - perhaps you copied one of the snippets from the readme, and perhaps that uses nvm install
internally?
Closing pending followup.
Operating system and version: MacOS Mojave 10.14.2
nvm debug
output:nvm ls
output:How did you install
nvm
? (e.g. install script in readme, Homebrew): HomebrewWhat steps did you perform? Navigate into a folder with .nvmrc file which triggers a node version switch. Content of default-packages:
What happened? Packages in ~/.nvm/default-packages are getting installed each time the node version switches. Console output
What did you expect to happen? Installation of default packages happens only during node installation.
Is there anything in any of your profile files (
.bashrc
,.bash_profile
,.zshrc
, etc) that modifies thePATH
? Not that I am aware of.