When i try to upgrade from ionic pro 1.0.20 to 1.1 or higher v2 i get lots of typescript errors.
How can i migrate the version?
I use typescript 2.6.1
typescript: node_modules/@ionic/pro/dist/src/services/deploy/index.d.ts, line: 1
Cannot find type definition file for 'cordova-plugin-ionic'.
L1: import { App, CheckAndApplyResponse, DeployConfig, ProgressFunc } from '../../definitions';
L2: export interface DeployV5API {
typescript: node_modules/@ionic/pro/dist/src/services/deploy/index.d.ts, line: 4
Cannot find name 'IDeployPluginAPI'.
L3: checkForUpdate: IDeployPluginAPI['checkForUpdate'];
here is my ionic info output
Ionic:
ionic (Ionic CLI) : 4.0.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.9
Cordova:
cordova (Cordova CLI) : 7.1.0
Cordova Platforms : android 7.1.1
System:
ios-deploy : 1.8.3
ios-sim : 3.1.1
NodeJS : v8.9.0 (/usr/local/bin/node)
npm : 6.1.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000