npm run start时node-sass报错处理

139 阅读1分钟

当项目npm run start时node-sass报错,报错信息如下: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (93) For more information on which environments are supported please see:

image.png 此时只需做如下几步就可以完美解决:

cnpm install node-sass@4.14.1

npm install

npm update node-sass

npm rebuild node-sass

npm install --save-dev node-sass

接下来就可以通过npm run start完美启动项目了