lengziyu / noteBook

This is my noteBook.
0 stars 0 forks source link

npm install报-4058错误 #24

Open lengziyu opened 5 years ago

lengziyu commented 5 years ago

改用cnpm:

$ npm install -g cnpm --registry=https://registry.npm.taobao.org

改用cnpm也报403错误,改一下npm源:

$ npm --registry https://registry.npm.taobao.org info underscore

然后找到目录:

C:\Users\Administrator\AppData\Roaming\npm\node_modules

然后删除,重新安装就好。