Could not be served
MoroccanGeek opened this issue · comments
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
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