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

Error: Unexpected value 'undefined' imported by the module 'AppModule' #148

Closed markkesty closed 6 years ago

markkesty commented 6 years ago

I started having a problem with this component recently when I upgraded from Angular 2 to Angular 4. The issue didn't start immediately but waited until I had deleted my node_modules folder and then ran npm install again.

I created a brand-new shiny Plunker and did nothing but add this component to it and I'm getting the above error. If you remove the RoundProgressModule from the imports section in app.ts, the Plunker loads just fine. However, if you add it back in, you'll see the above error in the console.

In general, it would be helpful to provide a demo using Plunker so people could start with a working version and see where they went wrong.

Here is the link to the Plunker: https://plnkr.co/edit/uHEakUZNUhjszDyRdCBm?p=preview

crisbeto commented 6 years ago

Should be fixed in the 1.2.1 release. Let me know if it still doesn't work and I'll reopen the issue.