Aakash Monthero

Aakash Monthero

  • NA
  • 6
  • 2.5k

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)