Hii I’m trying to create a Uber like app with a tutorial. I get the error message at line 1 for ‘Page’: The modul “C:/User…/node_modules/ionic-angular/index” has no exported member 'Page’
This is my Code
import { Page } from ‘ionic-angular’;
import { MapDirective } from ‘…/…/components/map/map’;
You are using a relatively ancient version of Ionic and Angular there. If you’re just starting out, I would definitely upgrade first, or you are going to be rewriting a lot of stuff.
I tryed to stay up to date with mz packages’ latest version. I checked that with the npm outdated. It shows the current, wanted and latest version. But it seems the problem is not the version of Angular and Ionic. Or am I wrong?
You should get errors trying to import Page then, because it was removed long ago. You also do not want to be declaring directives in components any more.