-
Notifications
You must be signed in to change notification settings - Fork 9
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
use angular4 angular-cli build in prod environment error #3
Comments
Fixed |
It works fine!Thanks a lot! |
Sorry to trouble again! There are some warnings when i build in prod, like this: WARNING in ./src/$$_gendir/app/app.module.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts |
Hi @yinyihui @shubhi1407 I'm facing the same issue, did you solve the problem? |
@verena91 I still have this problem,so I just change the component. |
@verena91 @yinyihui @shubhi1407 I am also facing the same issue. How you fixed this? |
Dear @shubhi1407 We are getting following issue when we tried to run the command "ng build --prod". We appreciate your help if you can fix this issue, else let us know if you have any suggestions. So that we can try to fix it as you suggest. WARNING in ./src/$$_gendir/app/app.module.ngfactory.ts WARNING in ./src/$$_gendir/app/app.module.ngfactory.ts WARNING in ./src/$$_gendir/app/app.module.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts WARNING in ./src/$$_gendir/~/ng2-notify-popup/ng2-notify-popup.ngfactory.ts Appreciate your quick help Appreciate others ( @vishnuindrabalan, @verena91, @yinyihui ) also if you can help us to fix this issue. |
Any news about this? |
@Hesesses @bhushangahire |
In my angular4 project, it runs perfectly, but when i use "ng build -prod", it gose in errors like this:
ERROR in ng:///.../node_modules/ng2-notify-popup/ng2-notify-popup.d.ts.ɵa.html (2,26): Property 'location' does not exi
st on type 'NotificationComponent'.
ERROR in ng:///.../node_modules/ng2-notify-popup/ng2-notify-popup.d.ts.ɵa.html (2,26): Property 'location' does not exi
st on type 'NotificationComponent'.
i just use this component follow the README section Usage and use it in my AppModule.
plz help!
The text was updated successfully, but these errors were encountered: