-
Notifications
You must be signed in to change notification settings - Fork 12k
Error on building app with --prod -aot #5765
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
I suppose Are you sure it is cli related ? |
Yes, it was that line! Thanks a lot. I was confused because on development mode it works and on the error it talks about email and password which are fields of current_user and non edit_form. Why angular 2 messages are so cryptic? |
Closing as answered by @will421, cheers! |
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. |
Hi all, I've got this error when I try to build my app with --prod -aot, with ng serve everythings works fine.
ERROR in /media/1tb/Sites/solution-timing/solution-timing-admin/src/$$_gendir/app/users/user-editing/user-editing.component.ngfactory.ts (645,55): Property 'email' does not exist on type '{}'.
The ts file is like this:
I don't know why it gives me this error when with ng serve command is all fine and I can run and use my app.
This is the info about my app:
The text was updated successfully, but these errors were encountered: