I am new to ionic (2) . I created a very simple application, few pages and a web services.
It works fine on android 6, but some pages wont open on ios (tested on 8 & 9).
and here is the error in console:
[Error] Failed to load resource: The requested URL was not found on this server. (login-main.module.js.map, line 0)
I see this for every page in my app plus this one:
[Error] Failed to load resource: The requested URL was not found on this server. (Observable.js.map, line 0)
What caused this? How can I fix it?
My guess is that this is somehow related to lazy loading? Other wise I really have no idea.
Edit 1: updated my error messages to be more helpful.
I practically programmed nothing. Just about 3 pages with lazy loading and static html and 1 page with dynamic content from a web service.
##On Blank App:
I got slightly different error.
[Error] Failed to load resource: The requested URL was not found on this server. (home.js.map, line 0)
And another one:
[Error] Failed to load resource: The requested URL was not found on this server. (core.es5.js.map, line 0)
I successfully updated @ionic/app-scripts : 1.3.12 to 2.0.2 but couldn’t update Ionic Framework : ionic-angular further than 3.5.0. I thought that was the latest. Is there is a way to get 3.5.3 (except npm install ionic)?!
npm install -g ionic is the globale Ionic CLI installation.
You update ionic-angular by running npm install ionic-angular@latest --save-exect on the command line.
Also, I have confirmed that production build wont solve the problem with out the updates.
For more details about the cause of the problem: As far as my understanding goes, it’s a minifiction problem.