“ionic cordova build android --prod --release” doesn’t proceed after “copy finished in…”
Upto firebase auth integration was ok, but after that when I get success to add data to the firebase, then build doesn’t work.
Home .ts
import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';
import { AngularFireModule } from 'angularfire2';
import { AngularFireDatabase } from 'angularfire2/database';
import { Observable } from 'rxjs/Observable';
@Component({
selector: 'page-home',
templateUrl: 'home.html',
})
export class HomePage {
itemValue = '';
items: Observable<any[]>;
constructor(
public navCtrl: NavController,
public navParams: NavParams,
public aFModule: AngularFireModule,
public db: AngularFireDatabase
) {
this.items = db.list('list').valueChanges();
}
onSubmit() {
this.db.list('/items/user45453443543b').push({ content: '34ds' });
this.itemValue = '';
}
}
Full Source Code here
https://drive.google.com/file/d/1ZO7W_N63yw7oCN26PqKA28uTxOx-Mcgp/view?usp=sharing
Tried1:
“ionic build --aot --minifyjs --minifycss --optimizejs”
Result: not resolved (doesn’t proceed after “copy finished in…”)
Tried2:
uninstall and reinstall rxjs
Result: not resolved.
About my Platform:
$ ionic info:
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : not installed
local packages:
@ionic/app-scripts : 3.1.11
Cordova Platforms : none
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v8.11.3
npm : 5.6.0
OS : Windows 8.1
Again, Full Source Code here
[edit]
Source code with package.json https://drive.google.com/open?id=1HV2uV0phxSOtNes1vhAqTxLz-3J86dBr