Main.js, main.css giving 404 Not Found error randomly - RC0


#22

I had the same problem just this morning and I solved by installing

npm install @ionic/app-scripts@latest --save-dev

npm install ionic-app-lib --save

Ionic cordova


#23

hai mr.norlan i solve this problem.
pls uninstall the ionic and cordova and reinstall it once again.


#24

For me, it was only finally solved by re-adding the platform:

cordova platform rm ios
cordova platform add ios


#25

Problem:

I started seeing this issue after I updated Ionic

Everything built fine and I didn’t see any errors or warnings in the terminal. But the page was blank when I viewed it in Chrome via ionic serve. Console had ERR_ABORTED for build files likes build\main.js, build\main.css etc.

Solution:

This was fixed after I updated app-scripts -

npm install @ionic/app-scripts@latest

More info here - https://github.com/ionic-team/ionic-app-scripts/issues/340