vue项目启动报错:Error Node Sass does not yet support your current environment

vue项目启动报错:Error: Node Sass does not yet support your current environment

vue项目启动报错:Error  Node Sass does not yet support your current environment

1、错误描述

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)

 INFO  Starting development server...
98% after emitting CopyPlugin

 ERROR  Failed to compile with 2 errors                                                                      上午9:44:47

 error  in ./src/styles/common.scss

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1


 @ ./src/main.js 30:0-30
 @ multi (webpack)-dev-server/client?http://192.168.1.3:1888&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock

 error  in ./src/App.vue?vue&type=style&index=0&lang=scss&

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1


 @ ./src/App.vue?vue&type=style&index=0&lang=scss& 1:0-992 1:0-992
 @ ./src/App.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.3:1888&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock

2、问题原因

node sass 不支持当前的环境,需要卸载重新安装。

3、解决方案

卸载:

npm uninstall --save node-sass

使用淘宝镜像重新安装:

cnpm install node-sass
大T笔记所有文章均为本人原创,转载请您注明来源,并留下原文链接地址,是对我的尊重,也是对知识的尊重,谢谢!
大T笔记 » vue项目启动报错:Error Node Sass does not yet support your current environment

大T笔记-我的个人互联网创业和自由职业之路

关于我 我的百宝箱
大T笔记-专注个人互联网创业和自由职业