错误:Node Sass 尚不支持您当前的环境:Windows 64-bit with false [英] Error: Node Sass does not yet support your current environment: Windows 64-bit with false
问题描述
E:A Prem WorldTeam_Work_TasksAnjaliAnjali_20160524QuizApp_20160524_01_Anj>ionic serve -l
(node:4772) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
There is an error in your gulpfile:
Error: Node Sass does not yet support your current environment: Windows 64-bit with false
For more information on which environments are supported please see:
TODO URL
at Object.<anonymous> (E:A Prem WorldTeam_Work_TasksAnjaliAnjali_20160524QuizApp_20160524_01_Anj
ode_modules
ode-sasslibindex.js:12:11)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (E:A Prem WorldTeam_Work_TasksAnjaliAnjali_20160524QuizApp_20160524_01_Anj
ode_modulesgulp-sassindex.js:187:21)
at Module._compile (module.js:541:32)
推荐答案
此错误消息并不表示 Ionic 有问题,而是表示 node-sass
有问题,它被指定在你的 Gulp 中执行文件.
This error message does not indicate a problem with Ionic, but rather with node-sass
, which is specified to execute in your Gulp file.
node-sass
错误:
Node Sass 尚不支持您当前的环境
Node Sass does not yet support your current environment
表示您尝试运行的 node-sass 版本与安装的 node 版本不兼容.
indicates that the version of node-sass you are trying to run is not compatible with the version of node installed.
查看 Node Sass 发行说明,了解 node- 的版本sass
你有,看看需要哪个版本的节点.
Check the Node Sass release notes for the version of node-sass
you have, to see which version of node is required.
如果node版本不对,必须降级node,或者升级node-sass
,直到有兼容对.如果支持节点版本,你可能只需要运行:
If the version of node is wrong, you must downgrade node, or upgrade node-sass
, until you have a compatible pair. If the node version is supported, you may just need to run:
npm rebuild node-sass
(如果全局安装了 node-sass,则使用 -g
).
(with -g
if node-sass was installed globally).
如果这不起作用,您可以:
If that doesn't work, you can:
npm uninstall node-sass && npm install node-sass
(同样,必要时使用 -g
).
(again, with -g
if necessary).
这个 github 问题有很多关于这方面的信息.
This github issue has lots of more info on this.
这篇关于错误:Node Sass 尚不支持您当前的环境:Windows 64-bit with false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!