Hi I am struggling with an ionic error Uncaught (in promise): nav controller was destroyed
Here is the stack
Error: Uncaught (in promise): nav controller was destroyed at c (http://localhost:8100/build/polyfills.js:3:13535) at Object.reject (http://localhost:8100/build/polyfills.js:3:12891) at NavControllerBase._fireError (http://localhost:8100/build/main.js:54983:16) at NavControllerBase._failed (http://localhost:8100/build/main.js:54962:18) at http://localhost:8100/build/main.js:55026:59 at t.invoke (http://localhost:8100/build/polyfills.js:3:9283) at Object.onInvoke (http://localhost:8100/build/main.js:4249:33) at t.invoke (http://localhost:8100/build/polyfills.js:3:9223) at r.run (http://localhost:8100/build/polyfills.js:3:4452) at http://localhost:8100/build/polyfills.js:3:14076
Here is my environment:
Ionic Framework: ^3.1.1
Ionic App Scripts: 1.3.12
Angular Core: ^4.0.2
Angular Compiler CLI: ^4.0.2
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
It came with the lost of all style and after serval times of refresh, this error may disappear but still cannot load style.
It seems to be a build issue cause when I check console, I got the error Failed to load resource: the server responded with a status of 404 (Not Found) besides Nav error
Any suggestions on what could be causing this error would be much appreciated.