Unexpected value 'undefined' declared by the module 'AppModule'

前端 未结 14 1815
庸人自扰
庸人自扰 2021-02-03 16:53

What is wrong here? I\'m trying to make it work but I get that error in the header. I have included the in the app

14条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-03 17:31

    In my case, on app.module.ts ( Ionic 3 )

    providers: [
        , StatusBar
        , SplashScreen
    

    Changed to:

    providers: [
         StatusBar
        , SplashScreen
    

    And works.

提交回复
热议问题