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)

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", 提升版本即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM