build dev failed:无法将属性'fileSystem'设置为null [英] build dev failed: Cannot set property 'fileSystem' of null
本文介绍了build dev failed:无法将属性'fileSystem'设置为null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试运行Ionic 2应用程序。我在运行离子服务时出现以下错误
I am trying to run an Ionic 2 Application. I am getting following error on running ionic serve
build dev failed:无法设置属性'fileSystem'为null
build dev failed: Cannot set property 'fileSystem' of null
完整的日志如下:
λ ionic serve
> ionic-hello-world@ ionic:serve D:\ionic
> ionic-app-scripts serve
[18:11:23] ionic-app-scripts 0.0.47
[18:11:24] watch started ...
[18:11:24] build dev started ...
[18:11:24] clean started ...
[18:11:24] clean finished in 6 ms
[18:11:24] copy started ...
[18:11:24] transpile started ...
[18:11:28] transpile finished in 4.15 s
[18:11:28] webpack started ...
[18:11:28] build dev failed: Cannot set property 'fileSystem' of null
[18:11:28] dev server running: http://localhost:8100/
[18:11:28] copy finished in 4.39 s
[18:11:28] watch ready in 4.44 s
推荐答案
将您的离子应用程序脚本更新到最新版本。 RC5发布时为1.0.0。
Update your ionic app scripts to the latest version. It is 1.0.0 for RC5 release.
npm install @ ionic / app-scripts @ latest --save-dev
。
根据建议,从 此处 。
As suggested, check the package.json from here.
运行 npm install
这篇关于build dev failed:无法将属性'fileSystem'设置为null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文