Skip to content
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

AOT - Calling function 'prepareRoutes', function calls are not supported. #36

Closed
mrzepinski opened this issue Mar 17, 2017 · 3 comments
Closed
Assignees

Comments

@mrzepinski
Copy link

ERROR in Error encountered resolving symbol values statically. Calling function 'prepareRoutes', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function

angular-cli: 1.0.0-rc.2

@meeroslav
Copy link
Collaborator

@mrzepinski,

Yes, this is the reason why new version with lazy loading is still not published. prepareRoutes can be solved with minor change in architecture, but pre-translating the lazy child routes would still not work. Hopefully I'll come up with the solution soon.

@ghost
Copy link

ghost commented Mar 31, 2017

Any update on this?

@meeroslav
Copy link
Collaborator

prepareRoutes are fixed in version 0.7.0 but AOT is still in clash with Lazy Loading, so lazy loading is turned off at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants