You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i´m trying to migrate an old app from angular 2 cli version 1.0.0-beta.18. to
angular 5 and
i have this issue.
when i try to do ng serve or ng build
all goes without erros but if i do ng serve --aot or i do ng build --prod
i see the next error message
ERROR in : Unexpected value 'PushNotificationComponent in c:/../node_modules/ng2-notifications/src/app/components/notification.component.d.ts' declared by the module 'AppModule in c:/.../src/app/app.module.ts'. Please add a @Pipe/@Directive/@component annotation.
Hello, i´m trying to migrate an old app from angular 2 cli version 1.0.0-beta.18. to
angular 5 and
i have this issue.
when i try to do
ng serve or ng build
all goes without erros but if i do
ng serve --aot or i do ng build --prod
i see the next error message
ERROR in : Unexpected value 'PushNotificationComponent in c:/../node_modules/ng2-notifications/src/app/components/notification.component.d.ts' declared by the module 'AppModule in c:/.../src/app/app.module.ts'. Please add a @Pipe/@Directive/@component annotation.
have i do something wrong?
additional info
Angular CLI: 1.7.4
Node: 8.11.1
OS: win32 x64
Angular: 5.2.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
thanks for sharing.
The text was updated successfully, but these errors were encountered: