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)

当前回答

下面的代码适合我。试着在终端中使用这个

npm uninstall node-sass && npm install node-sass

如果你想要全局安装它,你可以添加-g

其他回答

试试这个:

npm --depth 9999 update
npm rebuild node-sass

在我的情况下,问题是当我安装节点的最新版本,即;10.6.0. 同样的错误显示并参考@Quinn卸载该版本并安装8.11.3 LTS版本。现在工作很好:)

我安装了最新的版本,在写这篇评论的时候是5.0.0

NPM安装node-sass@latest

NPM卸载node-sass && NPM安装node-sass是更好的解决方法

如果没有其他方法,请尝试安装低版本的节点。

查找可用的节点版本

Brew搜索节点

安装低版本,如12

Brew install node@12

断开现有版本的链接

酿造断开节点

使用新版本

酿造链接node@12

如果你得到这样的警告:“警告:node@12是keg-only,必须与——force链接”

Brew link—force—overwrite node@10 echo 'export

更新您的配置并提供资源

PATH="/usr/local/opt/node@12/bin:$PATH"' >> ~/. "bash_profile源 ~ / . bash_profile