MeetmeLeave / ng-canvas-gauges

Angular2 component wrapper for the canvas-gauges library written by @Mikhus(https://github.com/Mikhus/canvas-gauges).
MIT License
38 stars 23 forks source link

Function calls not supported in decoratators: Angular 5.2.10 CLI 1.7.4 npm run build:aot:prod #16

Open ajay-a-lal opened 6 years ago

ajay-a-lal commented 6 years ago

Hey mate

I am trying to get the ng-canvas working in my angular project.

When I building the appliccation with AOT enabled I am getting the following error:

ERROR in : Unexpected value 'GaugesModule in /app/node_modules/ng-canvas-gauges/lib/index.d.ts' imported by the module 'SharedModule in /app/src/app/shared/share.module.ts'. Please add a @NgModule annotation.

I have looked at the src and tried to resolve it with no luck. From what I can tell, your implementation looks fine

cocaybica commented 6 years ago

Facing the same issue

juliogsantana commented 5 years ago

Any solution ?