How can I change the version of npm using nvm?

后端 未结 14 2153
温柔的废话
温柔的废话 2020-11-28 17:27

I\'ve been using NVM to install the latest versions of nodeJS for my node work. It works totally fine for installing separate versions and switching between them. It also in

14条回答
  •  無奈伤痛
    2020-11-28 18:14

    I had same issue after installing nvm-windows on top of existing Node installation. Solution was just to follow the instructions:

    You should also delete the existing npm install location (e.g. "C:\Users\AppData\Roaming\npm") so that the nvm install location will be correctly used instead.

    Installation & Upgrades

提交回复
热议问题