Hi so I’m woking on a project that needs to use geolocations and after I installed the geolocations (I used the exact steps that was provided in the documentations) but I’m getting this error when I try to build the app on the iOS platform and here is the error :
[21:29:50] typescript: node_modules/@ionic-native/geolocation/index.d.ts, line: 1
Module '"/Users/mr3bood/Desktop/dev/myApp-master/node_modules/@ionic-native/core/index"' has no exported
member 'IonicNativePlugin'.
L1: import { IonicNativePlugin } from '@ionic-native/core';
L2: import { Observable } from 'rxjs/Observable';
[21:29:50] ionic-app-script task: "build"
[21:29:50] Error: Failed to transpile program
Error: Failed to transpile program
at new BuildError (/Users/mr3bood/Desktop/dev/myApp-master/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
at /Users/mr3bood/Desktop/dev/myApp-master/node_modules/@ionic/app-scripts/dist/transpile.js:102:20
at transpileWorker (/Users/mr3bood/Desktop/dev/myApp-master/node_modules/@ionic/app-scripts/dist/transpile.js:68:12)
at Object.transpile (/Users/mr3bood/Desktop/dev/myApp-master/node_modules/@ionic/app-scripts/dist/transpile.js:26:12)
at buildProject (/Users/mr3bood/Desktop/dev/myApp-master/node_modules/@ionic/app-scripts/dist/build.js:98:78)
at /Users/mr3bood/Desktop/dev/myApp-master/node_modules/@ionic/app-scripts/dist/build.js:46:16
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ionic-hello-world@ ionic:build: `ionic-app-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:build script 'ionic-app-scripts build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ionic-app-scripts build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mr3bood/.npm/_logs/2017-04-29T18_29_50_375Z-debug.log