login-tab-navigation-ng
login-tab-navigation-ng copied to clipboard
Error: Cannot reattach ActivatedRouteSnapshot with a different number of children
Just change these in the repo to see the error:
Change the default path in app-routing.module.ts to tabs:
{ path: "", redirectTo: "/tabs/default", pathMatch: "full" },
- Navigate to welcome from tabs.
- Navigate to tabs from welcome.
- Navigate to welcome from tabs.
- Press the back button or
routerExtension.back()
in welcome. - See the errors.
Error:
JS: Error: Cannot reattach ActivatedRouteSnapshot with a different number of children
JS: at setFutureSnapshotsOfActivatedRoutes (file:///data/data/org.nativescript.tns57/files/app/tns_modules/@angular/router/bundles/router.umd.js:1950:19) [angular]
JS: at setFutureSnapshotsOfActivatedRoutes (file:///data/data/org.nativescript.tns57/files/app/tns_modules/@angular/router/bundles/router.umd.js:1954:13) [angular]
JS: at createNode (file:///data/data/org.nativescript.tns57/files/app/tns_modules/@angular/router/bundles/router.umd.js:1935:17) [angular]
JS: at file:///data/data/org.nativescript.tns57/files/app/tns_modules/@angular/router/bundles/router.umd.js:1975:20 [angular]
JS: at Array.map (<anonymous>) [angular]
JS: at createOrReuseChildren (file:///data/data/org.nativescript.tns57/files/app/tns_modules/@angular/router/bundles/router.umd.js:1958:30) [angular]
JS: at createNode (file:///data/data/org...
More detail in nativescript-angular repo's issue.
@vakrilov Any idea on this?