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

03-21 阅读 0评论

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

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

【解决】Error: Node Sass does not yet support your current environment,【解决】Error: Node Sass does not yet support your current environment,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,安装,电脑,解决问题,第1张
(图片来源网络,侵删)

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

解决方案:

1.先卸载node-sass

npm uninstall --save node-sass

2.再安装node-sass

npm install --save node-sass

扩展问题:

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

【解决】Error: Node Sass does not yet support your current environment,【解决】Error: Node Sass does not yet support your current environment,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,安装,电脑,解决问题,第2张
(图片来源网络,侵删)

再执行第3、4步即可。

3.重新卸载node-sass

cnpm uninstall node-sass

4.重新安装

cnpm i -D sass

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

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

【解决】Error: Node Sass does not yet support your current environment,【解决】Error: Node Sass does not yet support your current environment,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,安装,电脑,解决问题,第4张
(图片来源网络,侵删)

免责声明
本网站所收集的部分公开资料来源于AI生成和互联网,转载的目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。
文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

发表评论

快捷回复: 表情:
评论列表 (暂无评论,人围观)

还没有评论,来说两句吧...

目录[+]