侧边栏壁纸
  • 累计撰写 2,058 篇文章
  • 累计创建 73 个标签
  • 累计收到 20 条评论

目 录CONTENT

文章目录

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

大猿本猿
2021-11-28 / 2,518 阅读 / 0 字

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