Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not be served #213

Open
SaberCodeSmith opened this issue Dec 17, 2020 · 1 comment
Open

Could not be served #213

SaberCodeSmith opened this issue Dec 17, 2020 · 1 comment

Comments

@SaberCodeSmith
Copy link

After installing it, I tried to serve my app but it gives me this :

Compiling angular-svg-round-progressbar : module as esm5 Warning: Invalid constructor parameter decorator in D:/Hence Projects/Twitter-Harvester/node_modules/angular-svg-round-progressbar/fesm2015/angular-svg-round-progressbar.js: () => [ { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [DOCUMENT,] }] } ] Error: Error on worker #1: Error: getInternalNameOfClass() called on a non-ES5 class: expected RoundProgressService to have an inner class declaration at Esm5ReflectionHost.getInternalNameOfClass

@BenRacicot
Copy link

BenRacicot commented Feb 9, 2021

I can confirm this warning which breaks compilation on Angular ^9 setups and v 5.0.1

Warning: Invalid constructor parameter decorator in /Users/zxxxxx/dev/app-name/node_modules/angular-svg-round-progressbar/fesm2015/angular-svg-round-progressbar.js:
 () => [
    { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [DOCUMENT,] }] }
]
Error: Error on worker #5: Error: getInternalNameOfClass() called on a non-ES5 class: expected RoundProgressService to have an inner class declaration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants