npm安装node-sass失败

使用node v14 compile的时候一直说node sass does not yet support your current environment windows 64-bit with unsupported runtime 83

然后先是卸载了node-sass:

npm uninstall node-sass

打算重装:

npm install node-sass

但是会报错说本地没有python可以用

查了很多最后的问题是最新的node-sass和node v14不匹配

要下载对应的node-sass版本:

npm install node-sass@4.14.1 --D

参考:https://cxybb.com/article/Germxu/115988231

posted @ 2021-11-17 00:29  洛颜  阅读(244)  评论(0)    收藏  举报