Recently i had updated my node and after that my project is not running anymore, moreover i don’t understand the issue. I am tried many different things according to the blog but nothing is working. Whenever i am trying to run it’s giving me the error:
[17:37:08] typescript: node_modules/@ionic/pro/dist/src/services/deploy/index.d.ts, line: 120
Cannot find name 'CheckDeviceResponse'.
L119: checkForUpdate(): Promise<CheckDeviceResponse>;
L121: * @description Remove the files specific to a snapshot from the device.
[17:37:08] ionic-app-script task: "build"
[17:37:08] Error: Failed to transpile program
Error: Failed to transpile program
at new BuildError (/Users/FAY/Desktop/Skills/skills4school/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
at /Users/FAY/Desktop/Skills/skills4school/node_modules/@ionic/app-scripts/dist/transpile.js:159:20
at new Promise (<anonymous>)
at transpileWorker (/Users/FAY/Desktop/Skills/skills4school/node_modules/@ionic/app-scripts/dist/transpile.js:107:12)
at Object.transpile (/Users/FAY/Desktop/Skills/skills4school/node_modules/@ionic/app-scripts/dist/transpile.js:64:12)
at /Users/FAY/Desktop/Skills/skills4school/node_modules/@ionic/app-scripts/dist/build.js:109:82
This is my environment:
Ionic CLI: 4.12.0
Cordova: 8.1.2 (cordova-lib@8.1.1)
Node: 10.15.3
npm: 6.9.0
i am working on macOS version: 10.14.3.