Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

build dev failed: Cannot set property 'fileSystem' of null

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

build dev failed: Cannot set property 'fileSystem' of null

The complete log is as below:

λ 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   
like image 529
Yuvraj Patil Avatar asked Sep 10 '25 20:09

Yuvraj Patil


1 Answers

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.

Run npm install

like image 107
Suraj Rao Avatar answered Sep 12 '25 10:09

Suraj Rao