You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class 'SoundService' cannot be created via dependency injection, as it does not have an Angular decorator. This will result in an error at runtime.
Either add the @Injectable() decorator to 'SoundService', or configure a different provider (such as a provider with 'useFactory').
I'm using Pizzicato || window['Pizzicato'] || ... in order to work around the problem, including the module on angular.json as below:
The class 'SoundService' cannot be created via dependency injection, as it does not have an Angular decorator. This will result in an error at runtime.
Either add the @Injectable() decorator to 'SoundService', or configure a different provider (such as a provider with 'useFactory').
I'm using
Pizzicato || window['Pizzicato'] || ...
in order to work around the problem, including the module onangular.json
as below:I hope it helps someone's else.
The text was updated successfully, but these errors were encountered: