Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported r...

错误提示:node

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

For more information on which environments are supported please see:github

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

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

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

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

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

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

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

    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", 提高版本便可

相关文章
相关标签/搜索