Open BigDee123 opened 4 years ago
Try to match this ionic and cordova version: https://github.com/fttx/barcode-to-pc-app/blob/master/last-ionic-info.txt
And also this typescritp version: https://github.com/fttx/barcode-to-pc-app/blob/a533ef69b8744482a8fb7550e9bc314bf6d6741e/package.json#L77
i can't run : ionic cordova run ios --device and ionic cordova run android it gives me the following errors :
typescript: C:/barcode-to-pc-app-master/src/app/app.component.ts, line: 28 Expected 2 arguments, but got 1.
[09:03:40] typescript: C:/barcode-to-pc-app-master/src/pages/scan-session/scan-session.ts, line: 35 Expected 2 arguments, but got 1.
[09:03:40] typescript: C:/barcode-to-pc-app-master/src/pages/welcome/welcome.ts, line: 26 Expected 2 arguments, but got 1.
[09:03:40] typescript: C:/barcode-to-pc-app-master/src/providers/scan-sessions-storage.ts, line: 24 Property 'debounceTime' does not exist on type 'Subject<ScanSessionModel[]>'.
[09:03:40] typescript: C:/barcode-to-pc-app-master/src/providers/scan.ts, line: 259 Property 'first' does not exist on type 'Observable'.
[09:03:40] ionic-app-script task: "build" [09:03:40] Error: Failed to transpile program Error: Failed to transpile program at new BuildError (C:\barcode-to-pc-app-master\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28) at C:\barcode-to-pc-app-master\node_modules\@ionic\app-scripts\dist\transpile.js:159:20 at new Promise ()
at transpileWorker (C:\barcode-to-pc-app-master\node_modules\@ionic\app-scripts\dist\transpile.js:107:12)
at Object.transpile (C:\barcode-to-pc-app-master\node_modules\@ionic\app-scripts\dist\transpile.js:64:12)
at C:\barcode-to-pc-app-master\node_modules\@ionic\app-scripts\dist\build.js:109:82
[ERROR] An error occurred while running subprocess ionic-app-scripts.