国内使用npm的一些技巧
国内的服务器,因为一些原因,npm install会很慢,或者直接连不上,所以有以下解决方法 使用淘宝npm 1.临时使用
1 | npm --registry https://registry.npm.taobao.org install express |
2.持久使用
1 | npm config set registry https://registry.npm.taobao.org |
配置后可通过下面方式来验证是否 继续>
Blog of ZCW 亦·德利菲的小窝
国内的服务器,因为一些原因,npm install会很慢,或者直接连不上,所以有以下解决方法 使用淘宝npm 1.临时使用
1 | npm --registry https://registry.npm.taobao.org install express |
2.持久使用
1 | npm config set registry https://registry.npm.taobao.org |
配置后可通过下面方式来验证是否 继续>