Could someone help me to solve it?
$ ionic serve -c
> ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --consolelogs --nobrowser
[app-scripts] [15:18:58] ionic-app-scripts 3.1.9
[app-scripts] [15:18:58] watch started ...
[app-scripts] [15:18:58] build dev started ...
[app-scripts] [15:18:58] clean started ...
[app-scripts] [15:18:58] clean finished in 1 ms
[app-scripts] [15:18:58] copy started ...
[app-scripts] [15:18:59] copy finished in 123 ms
[app-scripts] [15:18:59] deeplinks started ...
[app-scripts] [15:18:59] deeplinks finished in 438 ms
[app-scripts] [15:18:59] transpile started ...
[app-scripts] [15:19:04] typescript: node_modules/angularfire2/firebase.app.module.d.ts, line: 5
[app-scripts] Class 'FirebaseApp' incorrectly implements interface 'App'. Property 'functions' is missing in type
[app-scripts] 'FirebaseApp'.
[app-scripts] L4: export declare const FirebaseAppConfigToken: InjectionToken<FirebaseAppConfig>;
[app-scripts] L5: export declare class FirebaseApp implements firebase.app.App {
[app-scripts] L6: name: string;
[app-scripts] [15:19:04] typescript: src/providers/rest/rest.ts, line: 39
[app-scripts] Property 'timeout' does not exist on type 'Observable<string>'.
[app-scripts] L38: return this.http.get<string>(url, { headers: headers })
[app-scripts] L39: .timeout(18000) // 18 segundos
[app-scripts] L40: .retry(3)
[app-scripts] [15:19:04] typescript: src/providers/rest/rest.ts, line: 51
[app-scripts] Property 'timeout' does not exist on type 'Observable<any>'.
[app-scripts] L50: return this.http.get<any>(url, { headers: headers })
[app-scripts] L51: .timeout(18000) // aguardar 18 segundos
[app-scripts] L52: .retry(3);
[app-scripts] Property 'timeout' does not exist on type 'Observable<Object>'.
[app-scripts] [15:19:04] typescript: src/providers/rest/rest.ts, line: 66
[app-scripts] L65: return this.http.post(url, JSON.stringify(body), { headers: headers })
[app-scripts] L66: .timeout(18000) // 18 segundos
[app-scripts] L67: .retry(3)
[app-scripts] Property 'timeout' does not exist on type 'Observable<Object>'.
[app-scripts] [15:19:04] typescript: src/providers/rest/rest.ts, line: 81
[app-scripts] L80: return this.http.delete(url, { headers: headers })
[app-scripts] L81: .timeout(18000) // 18 segundos
[app-scripts] L82: .retry(3)
[INFO] Development server running!
Local: http://localhost:8100
External: http://192.168.0.100:8100
DevApp: MyApp@8100 on rf511
Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8100!
[app-scripts] [15:19:04] watch ready in 5.93 s
It all was working fine until I ran ‘npm update’ on MyApp directory.
$ ionic info
✔ Gathering environment info - done!
Ionic:
ionic (Ionic CLI) : 4.1.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.9
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 5 other plugins)
System:
NodeJS : v8.10.0 (/usr/bin/node)
npm : 6.4.1
OS : Linux 4.15
$ ionic cordova requirements
> cordova requirements
Android Studio project detected
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-28,android-27,android-24
Gradle: installed /usr/local/android-studio/gradle/gradle-4.4/bin/gradle
$ npm outdated
Package Current Wanted Latest Location
@angular/animations 5.2.10 5.2.10 6.1.6 MyApp
@angular/common 5.2.10 5.2.10 6.1.6 MyApp
@angular/compiler 5.2.10 5.2.10 6.1.6 MyApp
@angular/compiler-cli 5.2.10 5.2.10 6.1.6 MyApp
@angular/core 5.2.10 5.2.10 6.1.6 MyApp
@angular/forms 5.2.10 5.2.10 6.1.6 MyApp
@angular/http 5.2.10 5.2.10 6.1.6 MyApp
@angular/platform-browser 5.2.10 5.2.10 6.1.6 MyApp
@angular/platform-browser-dynamic 5.2.10 5.2.10 6.1.6 MyApp
@ionic-native/core 4.7.0 4.7.0 4.12.2 MyApp
@ionic-native/splash-screen 4.7.0 4.7.0 4.12.2 MyApp
@ionic-native/status-bar 4.7.0 4.7.0 4.12.2 MyApp
@ionic/app-scripts 3.1.9 3.1.9 3.2.0 MyApp
angularfire2 5.0.0-rc.5-next 5.0.0-rc.5-next 5.0.0-rc.12 MyApp
cordova-plugin-ionic-webview 1.2.1 1.2.1 2.1.0 MyApp
node-pre-gyp 0.10.3 0.11.0 0.11.0 MyApp
ionicons 3.0.0 3.0.0 4.4.3 MyApp
rxjs 5.5.10 5.5.10 6.3.1 MyApp
typescript 2.6.2 2.6.2 3.0.3 MyApp
undefined
I have no idea to solve it.