I am trying to update this app :
And I found many errors such as this :
[12:08:23] typescript: C:/app/resturant/src/pages/contact/contact.ts, line: 1
Module '"C:/app/resturant/node_modules/ionic-angular/index"' has no exported member 'Page'.
L1: import {Page, NavController} from 'ionic-angular';
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 1
Module '"C:/app/resturant/node_modules/ionic-angular/index"' has no exported member 'Page'.
L1: import {Page, NavController, Alert, ViewController, Modal} from 'ionic-angular';
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 3
Cannot find module '../../services/menu-service'.
L3: import {CartItem, CartService} from '../../services/menu-service';
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 25
Property 'create' does not exist on type 'typeof Modal'.
L24: checkout(){
L25: let modal = Modal.create(MyModal);
L26: this.nav.present(modal);
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 26
Property 'present' does not exist on type 'NavController'.
L25: let modal = Modal.create(MyModal);
L26: this.nav.present(modal);
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 38
Property 'create' does not exist on type 'typeof Alert'.
L38: let alert = Alert.create({
L39: title: 'Confirm Delete',
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 58
Property 'present' does not exist on type 'NavController'.
L57: });
L58: this.nav.present(alert);
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 70
Property 'create' does not exist on type 'typeof Alert'.
L69: } else {
L70: let alert = Alert.create({
L71: title: 'Error',
[12:08:23] typescript: C:/app/resturant/src/pages/cart/cart.ts, line: 75
Property 'present' does not exist on type 'NavController'.
L74: });
L75: this.nav.present(alert);
[12:08:23] typescript: C:/app/resturant/src/pages/about/about.ts, line: 1
Module '"C:/app/resturant/node_modules/ionic-angular/index"' has no exported member 'Page'.
L1: import {Page, NavController} from 'ionic-angular';
[12:08:23] typescript: C:/app/resturant/src/pages/menu/menu.ts, line: 1
Module '"C:/app/resturant/node_modules/ionic-angular/index"' has no exported member 'Page'.
L1: import {Page, NavController} from 'ionic-angular';
[12:08:23] typescript: C:/app/resturant/src/pages/menu/menu.ts, line: 3
Cannot find module '../../services/menu-service'.
L3: import {MenuService, MenuItem, CartService} from '../../services/menu-service';
[12:08:23] typescript: C:/app/resturant/src/pages/main/main.ts, line: 1
Module '"C:/app/resturant/node_modules/ionic-angular/index"' has no exported member 'Page'.
L1: import {Page, NavController} from 'ionic-angular';
[12:08:23] typescript: C:/app/resturant/src/pages/home/home.ts, line: 1
Module '"C:/app/resturant/node_modules/ionic-angular/index"' has no exported member 'Page'.
L1: import {Page, NavController} from 'ionic-angular';
Error: The Angular AoT build failed. See the issues above
at C:\app\resturant\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:232:55
at step (C:\app\resturant\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:32:23)
at Object.next (C:\app\resturant\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:13:53)
at fulfilled (C:\app\resturant\node_modules\@ionic\app-scripts\dist\aot\aot-compiler.js:4:58)
How can I make this app runing !?