系统相关
首页 > 系统相关> > Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72

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,node,Sass,sass,modules,js,environment,loader,pts
来源: https://www.cnblogs.com/zwh0910/p/16112563.html