当项目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:
此时只需做如下几步就可以完美解决:
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完美启动项目了
当在OSX系统中运行npm run start时遇到Node Sass不支持当前环境的错误,可以尝试以下步骤解决:首先,全局安装node-sass@4.14.1,然后更新node-sass,接着重建node-sass,最后安装并保存为开发依赖。完成这些操作后,项目应该能通过npm run start顺利启动。
268

被折叠的 条评论
为什么被折叠?



