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


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


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


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

cordova platform rm ios
cordova platform add ios



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.


This was fixed after I updated app-scripts -

npm install @ionic/app-scripts@latest

More info here -