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
Exception using dynamic module in wildcard route (**) #12183
Comments
Thanks for reporting this issue. Luckily it has already been fixed #12024 |
Thank you @DzmitryShylovich! |
try |
Just tried with:
But unfortunately the problem persists |
so it's not released yet.
|
I tried with the first solution but the problem remains. |
@pkozlowski-opensource
Also I can reproduce #12024 . Works fine when navigating using routerLink but fails when entering url directly into browser url bar.
Router version: |
I am still unable to lazyload wildcard "**" routes in Angular 4.x, is this fixed somewhere? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
If I try to load a dynamic Module as wildcard, I get a null pointer exception:
This is the error I get:
handleError — core.umd.js:3370EXCEPTION: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'route._loadedConfig.routes')
Minimal reproduction of the problem with instructions
Here you can find a ready project
node --version
= 6.6The text was updated successfully, but these errors were encountered: