vivek-sam / CropNet

App based farm/crop information sharing
GNU General Public License v3.0
1 stars 0 forks source link

Build Error in latest Code... 4/17 #15

Closed vivek-sam closed 6 years ago

vivek-sam commented 6 years ago

PS F:\Vivek\Projects\CropNet\UrbanfarmApp> ionic cordova build android Running app-scripts build: --platform android --target cordova [22:25:58] build dev started ... [22:25:58] clean started ... [22:25:58] clean finished in 124 ms [22:25:58] copy started ... [22:25:59] deeplinks started ... [22:25:59] deeplinks finished in 217 ms [22:25:59] transpile started ... [22:26:09] typescript: F:/Vivek/Projects/CropNet/UrbanfarmApp/src/app/app.module.ts, line: 40 Cannot find module '@ionic-native/location-accuracy'.

  L39:  import { IonicStorageModule } from '@ionic/storage';
  L40:  import { LocationAccuracy } from '@ionic-native/location-accuracy';

[22:26:09] typescript: F:/Vivek/Projects/CropNet/UrbanfarmApp/src/pages/geomap/geomap.ts, line: 6 Cannot find module '@ionic-native/location-accuracy'.

   L5:  import { Geolocation, GeolocationOptions, Geoposition, PositionError } from '@ionic-native/geolocation';
   L6:  import { LocationAccuracy } from '@ionic-native/location-accuracy';

Error: Failed to transpile program at new BuildError (F:\Vivek\Projects\CropNet\UrbanfarmApp\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28) at F:\Vivek\Projects\CropNet\UrbanfarmApp\node_modules\@ionic\app-scripts\dist\transpile.js:159:20 at new Promise () at transpileWorker (F:\Vivek\Projects\CropNet\UrbanfarmApp\node_modules\@ionic\app-scripts\dist\transpile.js:107:12) at Object.transpile (F:\Vivek\Projects\CropNet\UrbanfarmApp\node_modules\@ionic\app-scripts\dist\transpile.js:64:12) at F:\Vivek\Projects\CropNet\UrbanfarmApp\node_modules\@ionic\app-scripts\dist\build.js:109:82 at [22:26:09] copy finished in 10.79 s