Skip to content

3.0.0-beta3 Can't navigate with lazy loaded routes #10959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Sh1d0w opened this issue Mar 29, 2017 · 4 comments
Closed

3.0.0-beta3 Can't navigate with lazy loaded routes #10959

Sh1d0w opened this issue Mar 29, 2017 · 4 comments

Comments

@Sh1d0w
Copy link

Sh1d0w commented Mar 29, 2017

Ionic version: (check one with "x")
[ ] 1.x
[ x ] 3.x

I'm submitting a ... (check one with "x")
[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

Followed the steps to upgrade to v3. Pushing a page with nav.push produces the following error

ERROR
TypeError: Array.prototype.map callback must be a function
map
webpackAsyncContext — src async:114
loadAndCompile — ng-module-loader.js:54
load — module-loader.js:32
getNavLinkComponent — deep-linker.js:168
getComponent — nav-util.js:14
push — nav-controller-base.js:81
previewTimesheet — month-review.ts:469
(anonymous function)
callWithDebugContext — core.es5.js:13060
(anonymous function) — platform-browser.es5.js:2674
onInvokeTask — core.es5.js:4136
runTask — polyfills.js:3:10401
invoke — polyfills.js:3:16178

Expected behavior:
To be able to navigate properly

Related code:

this.nav.push('SomePage')
Your system information:

    Cordova CLI: 6.4.0 
    Ionic Framework Version: 3.0.0-beta.3
    Ionic CLI Version: 3.0.0-beta.4
    ios-deploy version: 1.9.0 
    ios-sim version: 5.0.13 
    OS: macOS Sierra
    Node Version: v7.7.3
    Xcode version: Xcode 8.3 Build version 8E162
@Sh1d0w
Copy link
Author

Sh1d0w commented Mar 29, 2017

@Manduro
Copy link
Contributor

Manduro commented Mar 29, 2017

@jgw96
Copy link
Contributor

jgw96 commented Mar 29, 2017

Hello, thanks for opening an issue with us. I am going to close this issue as a duplicate of ionic-team/ionic-app-scripts#848

@jgw96 jgw96 closed this as completed Mar 29, 2017
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 3, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants