Unexpected value PushNotificationComponent with ng build --prod
Opened this issue · 1 comments
sami93 commented
if i do
ng serve --aot or i do ng build --prod
i see the next error message
ERROR in Error: Unexpected directive 'PushNotificationComponent in C:/.../node_modules/ng2-notifications/src/app/components/notification.compon
ent.d.ts' imported by the module 'SharedModule in C:/.../src/app/shared/shared.module.ts'
Info :
npm : 5.6.0
node : 8.11.2
OS: win32 x64
Angular : 2.4.10
jeff-jacobs commented
I get the same thing error. We've been behind on upgrading Angular, and this is now officially a blocker with AOT being more aggressive in the newer version.