Node Sass version 6.0.1 is incompatible with ^4.0.0.Node Sass does not yet support your current environment: Windows 64-bit with 

遇见奇怪问题

Node Sass does not yet support your current environment: Windows 64-bit with 

升级又提示这个

Node Sass version 6.0.1 is incompatible with ^4.0.0.

降级又提示这个

Node Sass does not yet support your current environment: Windows 64-bit with 

完全循环了

最后修改

"sass-loader": "^4.0.0",然后OK了

 

 步骤一:修改package.json文件

"sass-loader": "^4.0.0",

然后执行cnpm i  (加载新依赖)

然后cnpm i node-sass  (新依赖会找对应版本下载)

npm run dev 

OK了

posted @ 2021-12-03 11:08  巨菜的小鸟  阅读(4949)  评论(1编辑  收藏  举报