This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ionic Build fails with following error : ``` Running app-scripts build: [15:27:48] build dev started ... [15:27:48] clean started ... [15:27:48] clean finished in 3 ms [15:27:48] copy started ... [15:27:48] deeplinks started ... [15:27:48] deeplinks finished in 126 ms [15:27:48] transpile started ... [15:27:56] typescript: src/pages/report-new/report-new.ts, line: 139 Argument of type '(result: NativeGeocoderReverseResult) => void' is not assignable to parameter of type '(value: NativeGeocoderReverseResult[]) => void | PromiseLike<void>'. Types of parameters 'result' and 'value' are incompatible. Type 'NativeGeocoderReverseResult[]' is not assignable to type 'NativeGeocoderReverseResult'. Property 'countryCode' is missing in type 'NativeGeocoderReverseResult[]'. L138: str += address.administrativeArea + ", "; L140: if (address.countryName) { Error: Failed to transpile program at new BuildError (/Users/vittal/Downloads/Ionic-MFP-App-master/IonicMobileApp/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28) at /Users/vittal/Downloads/Ionic-MFP-App-master/IonicMobileApp/node_modules/@ionic/app-scripts/dist/transpile.js:159:20 at Promise (<anonymous>) at transpileWorker (/Users/vittal/Downloads/Ionic-MFP-App-master/IonicMobileApp/node_modules/@ionic/app-scripts/dist/transpile.js:107:12) at Object.transpile (/Users/vittal/Downloads/Ionic-MFP-App-master/IonicMobileApp/node_modules/@ionic/app-scripts/dist/transpile.js:64:12) at /Users/vittal/Downloads/Ionic-MFP-App-master/IonicMobileApp/node_modules/@ionic/app-scripts/dist/build.js:109:82 at <anonymous> ```
- Loading branch information