where is the file location which record log like this in ionic3?
Error: Uncaught (in promise): cordova_not_available
at c (http://localhost:8100/build/polyfills.js:3:19752)
at c (http://localhost:8100/build/polyfills.js:3:19461)
Thank you very much
nb: this log is example when i do ionic serve
Check your app.module.ts:
@NgModule({
declarations: [ AppComponent ],
imports: [
BrowserModule,
CoreModule,
IonicModule.forRoot(AppComponent, {
backButtonText: ''
})
],
bootstrap: [ IonicApp ],
entryComponents: [ AppComponent ],
providers: [
{ provide: ErrorHandler, useClass: IonicErrorHandler }
]
})
export class AppModule {}
See: https://ionicframework.com/docs/api/util/IonicErrorHandler/
i have add it in app module but it seems the erorr wont show
How did you create the scaffolding for your App? For example:
ionic start myApp tabs
Ionic 3 or Ionic 4?
Which platforms did you add?
Do your plugins support the browser platform?