Happened while trying to upgrade IONIC app from version 3 to 4
Updated all plugins and modules to latest available, without any luck.
ERROR in ./node
inside this "\node_modules\ionic-angular\module.js" && app.js file we can't change if we are changing manuvally it dosent take;
so i suggest BehaviorSubject of angular functionality we can get componet changing values in any other component
page.ts // component
import { BehaviorSubject } from 'rxjs';
public status = new BehaviorSubject('');
currentStatus = this.status.asObservable()
; // write this code inside the export class services
changeStatus(status){
console.log('current status from common services:',status)
this.status.next(status); // pass value to public observable variable
}
you can subscribe response in other componet