下载慢
npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/
yarn config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ -g
参考:https://www.jb51.net/article/122820.htm
报错
Error: Node Sass does not yet support your current environment
原因:node 版本更换导致的
解决方法:
- 更换回原 node 版本
- npm rebuild node-sass
- 卸载 node-sass 重新安装