其他分享
首页 > 其他分享> > npm速度过慢的解决方案

npm速度过慢的解决方案

作者:互联网

npm速度过慢的解决方案

使用淘宝的镜像:

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

安装yarn,之前要下载node.js,使用npm安装
yarn的安装:

下载node.js,使用npm安装
npm install -g yarn
查看版本:yarn --version
Yarn 淘宝源安装
yarn config set registry https://registry.npm.taobao.org -g
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g

标签:npm,node,set,解决方案,yarn,过慢,org,registry
来源: https://blog.csdn.net/weixin_58313733/article/details/123590501