@lpeppe wrote:
Hello guys, first of all I want to wish a happy New Year to all of you!
In these days I’m facing a weird issue: whenever I serve my application or I build it, ionic always uses the old version of a provider I have, which causes the app to crash. When I’m using live-realoading, I just need to save the provider file to make the build work properly (without making any change to the file). The problem is that I can’t build the app anymore, because I get the same error everytime
These are my dependencies:
{ "name": "niceWeather", "version": "0.0.1", "author": "Ionic Framework", "homepage": "http://ionicframework.com/", "private": true, "scripts": { "clean": "ionic-app-scripts clean", "build": "ionic-app-scripts build", "lint": "ionic-app-scripts lint", "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts serve" }, "dependencies": { "@angular/common": "5.0.0", "@angular/compiler": "5.0.0", "@angular/compiler-cli": "5.0.0", "@angular/core": "5.0.0", "@angular/forms": "5.0.0", "@angular/http": "5.0.0", "@angular/platform-browser": "5.0.0", "@angular/platform-browser-dynamic": "5.0.0", "@ionic-native/core": "^4.3.0", "@ionic-native/geolocation": "^4.4.0", "@ionic-native/splash-screen": "4.3.0", "@ionic-native/status-bar": "4.3.0", "@ionic/storage": "2.1.3", "angularfire2": "^5.0.0-rc.3", "cordova-android": "^6.2.3", "cordova-plugin-compat": "^1.2.0", "cordova-plugin-device": "^1.1.4", "cordova-plugin-geolocation": "^2.4.3", "cordova-plugin-ionic-webview": "^1.1.15", "cordova-plugin-splashscreen": "^4.0.3", "cordova-plugin-statusbar": "git+https://github.com/apache/cordova-plugin-statusbar.git", "cordova-plugin-whitelist": "^1.3.1", "firebase": "^4.6.0", "ionic-angular": "^3.9.2", "ionic-plugin-keyboard": "^2.2.1", "ionicons": "3.0.0", "leaflet": "^1.2.0", "leaflet-draw": "^0.4.13", "leaflet.markercluster": "^1.2.0", "rxjs": "5.5.2", "sw-toolbox": "3.6.0", "zone.js": "0.8.18" }, "devDependencies": { "@ionic/app-scripts": "^3.1.7", "@types/geojson": "^7946.0.0", "@types/googlemaps": "^3.30.0", "@types/leaflet": "^1.2.4", "@types/leaflet-draw": "^0.4.10", "@types/leaflet.markercluster": "^1.0.2", "typescript": "2.4.2" }, "description": "An Ionic project", "cordova": { "plugins": { "cordova-plugin-device": {}, "cordova-plugin-ionic-webview": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-whitelist": {}, "ionic-plugin-keyboard": {}, "cordova-plugin-geolocation": { "GEOLOCATION_USAGE_DESCRIPTION": "To locate you" } }, "platforms": [ "android" ] } }
Posts: 2
Participants: 2