Loading

node-sass网络太慢解决办法

更靠谱

https://zhuanlan.zhihu.com/p/130398131

 

npm :

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

yarn :

yarn config set registry http://registry.npm.taobao.org

只指定node-sass的下载源:

npm:

npm config set sass-binary-site http://npm.taobao.org/mirrors/node-sass

yarn:

yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass

然后我可以正常使用npm或者yarn进行下载了~



posted @ 2020-10-03 15:39  alphacode  阅读(260)  评论(0编辑  收藏  举报