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

It's work for Ionic 3?Runtime Error Unexpected value 'RoundProgressService' imported by the module 'AppModule'. Please add a @NgModule annotation. #147

Closed AltRoot17 closed 6 years ago

AltRoot17 commented 6 years ago

Im try to added this Ionic 3 project, But its not working

Runtime Error
Unexpected value 'RoundProgressService' imported by the module 'AppModule'. Please add a @NgModule annotation.
ianlintner-wf commented 6 years ago

Version 1.1.0 supports angular 4. I think the current master/head version is for angular 5.

https://github.com/crisbeto/angular-svg-round-progressbar/releases/tag/1.1.0

For your install command use this instead for now, but will need to update when Ionic moves to Angular 5.

npm install angular-svg-round-progressbar@1.1.0 --save
crisbeto commented 6 years ago

If you're on Angular 4, you should install version 1.1.0, whereas if you're on Angular 5 you should use 1.2.1.