crisbeto / angular-svg-round-progressbar

Angular module that uses SVG to create a circular progressbar
https://crisbeto.github.io/angular-svg-round-progressbar/
MIT License
741 stars 173 forks source link

BUGFIX: Not working on Angular 5.0.3 #153

Closed akhilesh2310 closed 6 years ago

akhilesh2310 commented 6 years ago

Uncaught Error: Unexpected value 'RoundProgressModule' imported by the module 'AppModule'. Please add a @NgModule annotation

meyyappanv commented 6 years ago

@akhilesh2310 I tried the step you had mentioned and it works. Thanks a ton. @crisbeto Could you please validate and merge this and roll out a release? This will be of great help to all who want to migrate to Angular 5 but are stuck here.

crisbeto commented 6 years ago

Thank you for the PR. I just double-checked and it does look like the Angular decorators weren't being added with my current TS version. I've locked it down to 2.4.2 and published the 1.2.1 release that should fix the issue. Closing the PR since I want to avoid having both a package-lock.json and a yarn.lock.