-
Notifications
You must be signed in to change notification settings - Fork 6.8k
ngZone not intialized in MatSidenav (MatDrawer) while using es2015+ #10567
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
Comments
@mmalerba Any updates? |
es2015 currently works in AOT mode only, see #8284 (comment) |
same issue |
ng serve --aot --port xxxx worked for me... FINALLY, if you only i knew earlier that es2015 only works in aot atm :D |
Nevermind --aot is not a solution, works for like 4 refreshes then it throws a ton of errors, after rerunning ng serve it works again for a few minutes |
@mmalerba Please, reopen this issue. Using AOT works very bad with ng serve. |
Same issue. |
1 similar comment
Same issue. |
same issue |
2 similar comments
same issue |
same issue |
Same here |
Same here `Angular CLI: 7.1.4 Package Version@angular-devkit/architect 0.11.3 |
Got scared to death while struggling on launch deadline. --aot worked. Still not sure what happened to regular ng serve |
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. |
Bug, feature request, or proposal:
I think this is a BUG.
What is the expected behavior?
Just initialize it, instead of a
undefined
one.What is the current behavior?
Template:
tsconfig.json:
ERROR:
Compiling with
es5
will not encounter this issue.What are the steps to reproduce?
Just modify the
tsconfig.json
to change thetarget
toes2015
.What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: