目 录CONTENT

文章目录

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

大T
2021-11-28 / 0 评论 / 0 点赞 / 79 阅读 / 0 字

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
0

评论区