While Importing the Ng2-charts Module into the Angular12

Viewed 176

This likely means that the library (ng2-charts) which declares ThemeService has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy. enter image description here

1 Answers

Your module is not yet loaded by the Angular Server because you probably installed it without disconnecting it. In order to make it work you need to restart your server (ctrl + c on console) so the server loads the module that you just installed.

Related