5 Replies - 3398 Views - Last Post: 20 April 2018 - 05:07 PM

#1 HannaMJ   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 07-March 18

Error: Can't resolve all parameters for MyApp: ([object Object], [

Posted 20 April 2018 - 09:25 AM

Error: Can't resolve all parameters for MyApp: ([object Object], [object Object], [object Object], ?, [object Object]).
    at syntaxError (http://localhost:8100/build/vendor.js:108818:34)
    at CompileMetadataResolver._getDependenciesMetadata (http://localhost:8100/build/vendor.js:124033:35)
    at CompileMetadataResolver._getTypeMetadata (http://localhost:8100/build/vendor.js:123868:26)
    at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (http://localhost:8100/build/vendor.js:123353:24)
    at CompileMetadataResolver._getEntryComponentMetadata (http://localhost:8100/build/vendor.js:124181:45)
    at http://localhost:8100/build/vendor.js:124162:48
    at Array.forEach (<anonymous>)
    at CompileMetadataResolver._getEntryComponentsFromProvider (http://localhost:8100/build/vendor.js:124161:30)
    at http://localhost:8100/build/vendor.js:124116:83
    at Array.forEach (<anonymous>)


How do i solve this? i cannot find any errors.. but i cannot run the ionic in my browser as this appears..

Is This A Good Question/Topic? 0
  • +

Replies To: Error: Can't resolve all parameters for MyApp: ([object Object], [

#2 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 15077
  • View blog
  • Posts: 60,210
  • Joined: 12-June 08

Re: Error: Can't resolve all parameters for MyApp: ([object Object], [

Posted 20 April 2018 - 09:28 AM

Did you biff on any imports, and/or their locations?
Was This Post Helpful? 0
  • +
  • -

#3 HannaMJ   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 07-March 18

Re: Error: Can't resolve all parameters for MyApp: ([object Object], [

Posted 20 April 2018 - 09:29 AM

i dont understand.. what do yo mean? :/
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 15077
  • View blog
  • Posts: 60,210
  • Joined: 12-June 08

Re: Error: Can't resolve all parameters for MyApp: ([object Object], [

Posted 20 April 2018 - 09:30 AM

Did you mess up a reference or import statement? Either by not including it or not telling it the right location?
Was This Post Helpful? 0
  • +
  • -

#5 HannaMJ   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 07-March 18

Re: Error: Can't resolve all parameters for MyApp: ([object Object], [

Posted 20 April 2018 - 09:32 AM

i dont know.. i want to check errors but i couldnt find one..
Was This Post Helpful? 0
  • +
  • -

#6 HannaMJ   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 07-March 18

Re: Error: Can't resolve all parameters for MyApp: ([object Object], [

Posted 20 April 2018 - 05:07 PM

Error: StaticInjectorError(AppModule)[MyApp -> AuthService]:
StaticInjectorError(Platform: core)[MyApp -> AuthService]:
NullInjectorError: No provider for AuthService!
at _NullInjector.get (http://localhost:8100/build/vendor.js:1376:19)
at resolveToken (http://localhost:8100/build/vendor.js:1674:24)
at tryResolveToken (http://localhost:8100/build/vendor.js:1616:16)
at StaticInjector.get (http://localhost:8100/build/vendor.js:1484:20)
at resolveToken (http://localhost:8100/build/vendor.js:1674:24)
at tryResolveToken (http://localhost:8100/build/vendor.js:1616:16)
at StaticInjector.get (http://localhost:8100/build/vendor.js:1484:20)
at resolveNgModuleDep (http://localhost:8100/build/vendor.js:11228:25)
at NgModuleRef_.get (http://localhost:8100/build/vendor.js:12461:16)
at resolveDep (http://localhost:8100/build/vendor.js:12951:45)

i imported authservice but it still not working
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1