小工具知识网

当前位置: 首页 > 行业知识 > 【解决】Error: Node Sass does not yet support your current environment

行业知识

【解决】Error: Node Sass does not yet support your current environment

2026-11-15 16:34:14 来源:互联网转载

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

前言:今天在做一个从另外的一台电脑环境运行的vue项目,在运行时发现报错,找了许久才解决问题。

问题原因:当前项目的node-sass版本与本机的node版本不一致导致的。

解决方案:

1.先卸载node-sass

npm uninstall --save node-sass

2.再index.php/tags-98.html" >安装node-sass

npm install --save node-sass

扩展问题:

重新运行时,报错Node Sass version 6.0.1 is incompatible with ^4.0.0.

再执行第3、4步即可。

3.重新卸载node-sass

cnpm uninstall node-sass

4.重新安装

cnpm i -D sass

最后运行成功,完美解决。

上一篇:QQ2014源码深度解析,揭秘古老版本的神秘面纱

下一篇:服务器电源哪里买的?