错误:Node Sass尚不支持您当前的环境:Windows 64位,为false [英] Error: Node Sass does not yet support your current environment: Windows 64-bit with false

查看:2503
本文介绍了错误:Node Sass尚不支持您当前的环境:Windows 64位,为false的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

E:\A Prem World\Team_Work_Tasks\Anjali\Anjali_20160524\QuizApp_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 World\Team_Work_Tasks\Anjali\Anjali_20160524\QuizApp_20160524_01_Anj\node_modules\node-sass\lib\index.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 World\Team_Work_Tasks\Anjali\Anjali_20160524\QuizApp_20160524_01_Anj\node_modules\gulp-sass\index.js:187:21)
    at Module._compile (module.js:541:32)

推荐答案

此错误消息并不表示Ionic出现问题,而是表示已在Gulp文件中执行的node-sass问题. node-sass错误Node Sass does not yet support your current environment表示您尝试运行的node-sass版本与所安装的node版本不兼容.

This error message does not indicate an problem with Ionic, but rather with node-sass, which is specified to execute in your Gulp file. The node-sass error, Node Sass does not yet support your current environment 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版本. ,以查看需要哪个版本的节点.如果节点的版本错误,则必须降级节点或升级node-sass,直到拥有兼容的对为止.如果支持节点版本,则可能只需要运行npm rebuild node-sass(如果全局安装了node-sass,则使用-g).如果这不起作用,则可以npm uninstall node-sass && npm install node-sass(同样,如有必要,可以使用-g来).

Check the Node Sass release notes for the version of node-sass you have, to see which version of node is required. 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 (with -g if node-sass was installed globally). If that doesn't work, you can npm uninstall node-sass && npm install node-sass (again, with -g if necessary).

此github问题对此有更多信息.

这篇关于错误:Node Sass尚不支持您当前的环境:Windows 64位,为false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆