Aakash Monthero

Aakash Monthero

  • 2.1k
  • 6
  • 1.4k

Uncaught Error: Can't resolve all parameters for Service in angular 11

Mar 4 2021 6:19 AM
I'm trying to migrate Angular 4 -> Angular 11 and getting this error
`compiler.js:2512 Uncaught Error: Can't resolve all parameters for Service: ([object Object], ?, [object Object], [object Object]).
at syntaxError (compiler.js:2512)
at CompileMetadataResolver._getDependenciesMetadata (compiler.js:23520)
at CompileMetadataResolver._getTypeMetadata (compiler.js:23415)
at CompileMetadataResolver._getInjectableTypeMetadata (compiler.js:23633)
at CompileMetadataResolver.getProviderMetadata (compiler.js:23642)
at compiler.js:23580
at Array.forEach (<anonymous>)
at CompileMetadataResolver._getProvidersMetadata (compiler.js:23537)
at CompileMetadataResolver.getNgModuleMetadata (compiler.js:23267)
at JitCompiler._loadModules (compiler.js:29025)`

Answers (1)