I am trying to import a new service provider that I just created after pulling from the latest branch in my ionic app.
When I try to import this line of code:
I finally figure it out to solve the problem. The error occurs when I import the events from ionic-angular.
ionic-angular
So instead of: import { Events } from 'ionic-angular/umd';
import { Events } from 'ionic-angular/umd';
Just remove the umd at the end. I don't know why it happened because I am using auto import from my vs code.