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