krispo / ng2-nvd3

Angular2 component for nvd3
http://krispo.github.io/ng2-nvd3/
MIT License
328 stars 104 forks source link

Unable to build using -aot flag #105

Closed nipunyadvinder closed 7 years ago

nipunyadvinder commented 7 years ago

Application builds and runs without aot flag but fails with following command

ng build -local -aot true Error

ERROR in Unexpected value 'NvD3Component in /usr/local/code/myapp/node_modules/ng2-nvd3/build/ng2-nvd3.component.d.ts' declared by the module 'BSCommonModule in /usr/local/code/myapp/src/app/common/common.module.ts'. Please add a @Pipe/@Directive/@Component annotation.

nipunyadvinder commented 7 years ago

Sorry this is duplicate of #86 Closing and following on same issue