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

2023-02-17,,,,

错误提示:

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

For more information on which environments are supported please see:

https://github.com/sass/node-sass/releases/tag/v3.13.1

at module.exports (E:\taishou\taiping\node_modules\_node-sass@3.13.1@node-sass\lib\binding.js:13:13)

at Object.<anonymous> (E:\taishou\taiping\node_modules\_node-sass@3.13.1@node-sass\lib\index.js:14:35)

at Module._compile (internal/modules/cjs/loader.js:689:30)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)

at Module.load (internal/modules/cjs/loader.js:599:32)

at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

at Function.Module._load (internal/modules/cjs/loader.js:530:3)

at Module.require (internal/modules/cjs/loader.js:637:17)

at require (internal/modules/cjs/helpers.js:22:18)

at Object.<anonymous> (E:\taishou\taiping\node_modules\_gulp-sass@2.3.2@gulp-sass\index.js:187:21)

一直在纠结于node-sass 的原因,通过设置淘宝镜像cnpm重新安装node-sass,暂时解决了问题,但是后面再次出现了相关报错,受一篇文章的启发,注意到最后一行与gulp-sass有关。

于是将package.json中的  "gulp-sass": "^2.0.4"  调整为 "gulp-sass": "^3.1.0", 提升版本即可

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (64)的相关教程结束。

《Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (64).doc》

下载本文的Word格式文档,以方便收藏与打印。