当前位置:网站首页>NPM install problem solving (NVM installation and use)

NPM install problem solving (NVM installation and use)

2022-06-23 16:29:00 David Liangchen

We are npm install Conduct vue The following problems will occur when the project depends on installation :node edition
 Insert picture description here
Let's enter first github
https://github.com/coreybutler/nvm-windows/releases

 Insert picture description here
download :nvm-setup.zip
 Insert picture description here
All the way back next that will do

To configure

Open our installation directory

settings.txt: File content modification

 Insert picture description here

node_mirror: https://npm.taobao.org/mirrors/node/
npm_mirror: https://npm.taobao.org/mirrors/npm/

 Insert picture description here

nvm -v  Verify that the installation was successful 

 Insert picture description here
nvm ls see node There are versions
 Insert picture description here
If you don't have the version you want, download it directly
nvm install xxx( Version number )

Switch after downloading

nvm use xxx( Version number )

原网站

版权声明
本文为[David Liangchen]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206231534323257.html