开发过程中,node版本升级后,项目运行时,遇到报错:Error:Node Sass
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime
解决方案:
1.不用回退node版本,升级node-sass
npm rebuild node-sass
2.手动升级
// 卸载
npm uninstall --save node-sass
// 清除缓存
npm cache clean -f
// 升级node-sass模块
npm install --save node-sass