Hi All,
I’m having an issue with navigating back to the previous page while using Lazy Loading.
When I navigate with Ionic’s back button in the navbar, everything’s fine.
When I use my browser (Chrome)'s back button, I get the following error:
Uncaught (in promise): TypeError: ti.done is not a function TypeError: ti.done is not a function at NavControllerBase._fireError (http://localhost:8100/build/vendor.js:42846:16) at NavControllerBase._failed (http://localhost:8100/build/vendor.js:42837:14) at http://localhost:8100/build/vendor.js:42892:59 at t.invoke (http://localhost:8100/build/polyfills.js:3:9283) at Object.onInvoke (http://localhost:8100/build/vendor.js:4508:37) 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 at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9967) at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4499:37)
Here’s my environment:
cli packages: (/Users/........../TestApp/node_modules)
@ionic/cli-plugin-ionic-angular : 1.4.1
@ionic/cli-utils : 1.7.0
ionic (Ionic CLI) : 3.7.0
local packages:
@ionic/app-scripts : 2.1.3
Ionic Framework : ionic-angular 3.6.0
System:
Node : v6.11.2
OS : macOS Sierra
Xcode : Xcode 8.3.3 Build version 8E3004b
ios-deploy : 1.9.0
ios-sim : 5.0.13
npm : 3.10.10
I see an issue’s been created, but there are no answers as of yet. Issue 12499
Edit: a temp workaround is to go into package.json and downgrade to the following:
"ionic-angular": "3.5.3",
...
"ionic": "3.6.0",
Thanks,
Ryan