peyton Blog
查看源码 (opens new window)
查看源码 (opens new window)
  • Interview
2021-12-17

npm 镜像

设置淘x,宝的是:
npm config set registry https://registry.npm.taobao.org (opens new window)

npm config set registry https://registry.npm.taobao.org

不想用他们的,再设置回原来的就可以了:
npm config set registry https://registry.npmjs.org (opens new window)

npm config set registry https://registry.npmjs.org

试用固定版本的npm npm install -g npm@7.5.4

npm install sass-loader@10.1.1

npm install sass-loader@8.0.0 node-sass@4.14.1 --registry=https://registry.npm.taobao.org

npm install cnpm -g

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

修改页面 (opens new window)
Last Updated: 12/20/2021, 5:53:52 AM
最近更新
01
02
03
css垂直居中
12-17
更多文章>
Theme by Vdoing
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式