报错如下:
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。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。