AlivaPaul opened a new issue, #157:
URL: https://github.com/apache/cordova-plugin-network-information/issues/157

   # Bug Report
   
   ## Problem
   Error: Invalid provider for the NgModule 'AppModule' - only instances of 
Provider and Type are allowed, got: [..., ..., ..., ..., ..., ..., ?[object 
Object]?, ...]
   
   
   ### Command or Code
   
   AppModule.ts
   import { Network } from '@awesome-cordova-plugins/network/ngx';
   
   
   @NgModule({
     declarations: [AppComponent],
     imports: [
       HttpClientModule,
       BrowserModule,
       IonicModule.forRoot(), AppRoutingModule
     ],
     providers: [
       Network,
       { provide: RouteReuseStrategy, useClass: IonicRouteStrategy }],
     bootstrap: [AppComponent],
   })
   export class AppModule {}
   
   
   
   ### Environment, Platform, Device
   Ionic:
   
      Ionic CLI                     : 6.20.1 
(C:\Users\aliva\AppData\Roaming\npm\node_modules\@ionic\cli)
      Ionic Framework               : @ionic/angular 6.2.8
      @angular-devkit/build-angular : 14.2.3
      @angular-devkit/schematics    : 14.2.3
      @angular/cli                  : 14.2.3
      @ionic/angular-toolkit        : 6.1.0
   
   Cordova:
   
      Cordova CLI       : 11.0.0
      Cordova Platforms : android 10.1.2
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, 
cordova-plugin-ionic-webview 5.0.0, (and 8 other plugins)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to