Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72

2022/4/8 7:21:29

本文主要是介绍Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

报错如下:

 ERROR  Failed to compile with 42 errors                                                                                                  15:15:24

 error  in ./src/styles/index.scss

Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.11.0
    at module.exports (D:\project\prism\project999\pts_new\pts_view_product\node_modules\node-sass\lib\binding.js:13:13)
    at Object.<anonymous> (D:\project\prism\project999\pts_new\pts_view_product\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.sassLoader (D:\project\prism\project999\pts_new\pts_view_product\node_modules\sass-loader\lib\loader.js:24:22)

 @ ./src/styles/index.scss 4:14-203 14:3-18:5 15:22-211
 @ ./src/main.js

点击链接:https://github.com/sass/node-sass/releases/tag/v4.11.0,进入如下页面

可以看到,node-sass v4.11.0支持的版本如下:

即:windows中node-sass v 4.11.0支持的node最高版本为node 11。

 



这篇关于Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程