构建开发失败:无法将属性“fileSystem"设置为 null [英] build dev failed: Cannot set property 'fileSystem' of null

查看:16
本文介绍了构建开发失败:无法将属性“fileSystem"设置为 null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行 Ionic 2 应用程序.我在运行 ionic serve

I am trying to run an Ionic 2 Application. I am getting following error on running ionic serve

构建开发失败:无法将属性fileSystem"设置为空

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   

推荐答案

将您的 ionic 应用程序脚本更新到最新版本.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

这篇关于构建开发失败:无法将属性“fileSystem"设置为 null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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