Angular2 Ionic2 Can't resolve all parameters for GameServiceProvider: (?)

后端 未结 1 995
南方客
南方客 2021-01-07 08:15
Runtime Error
Can\'t resolve all parameters for GameServiceProvider: (?).

Error: Can\'t resolve all parameters for GameServiceProvider: (?).
    at syntaxError (htt         


        
相关标签:
1条回答
  • 2021-01-07 08:44

    There are more than one references to GameServiceProvider viz.,

    • AppModule
    • BotProvider
    • MyApp

    Remove the providers block in each files and have it globally in the AppModule

    0 讨论(0)
提交回复
热议问题