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
How did you install nvm? (e.g. install script in readme, Homebrew):
Install script in readme
What steps did you perform?
$ nvm use 10.0.0
$ which npm
/home/solomon/.nvm/versions/node/v10.0.0/bin/npm
$ npm install -g bower
npm WARN deprecated bower@1.8.4: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower//home/solomon/.nvm/versions/node/v6.11.5/bin/bower -> /home/solomon/.nvm/versions/node/v6.11.5/lib/node_modules/bower/bin/bower+ bower@1.8.4added 1 package in 1.093s
What happened?
npm installed to the 6.11.5 environment.
What did you expect to happen?
I expected it to install packages into the 10.0.0 environment.
Is there anything in any of your profile files (.bashrc, .bash_profile, .zshrc, etc) that modifies the PATH?
Since npm config get prefix is returning a path that disagrees with nvm current, do you have a "prefix" line in ~/.npmrc? If not, what's printenv output?
Operating system and version: Arch Linux
nvm debug
output:nvm ls
output:nvm
? (e.g. install script in readme, Homebrew):Install script in readme
npm
installed to the6.11.5
environment.I expected it to install packages into the
10.0.0
environment..bashrc
,.bash_profile
,.zshrc
, etc) that modifies thePATH
?yes. Here is my $PATH:
The text was updated successfully, but these errors were encountered: