Hello ,
first of all thanks for the ionic 3 example, this is useful. However, I tried to pull locally and run "npm install" but I ran into issues with the dependencies that prevents the application from working normally. Here is the message I got on my cli:
UNMET PEER DEPENDENCY @angular/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular/[email protected]
npm ERR! missing: esprima-fb@~3001.0001.0000-dev-harmony-fb, required by [email protected]
I noticed in your package.json that you are requesting the latest version of angular/animation ( currently it is 4.2.x ) which in turns requires the latest version of angular/core whilst the app itself is depending on a strict older version of angular/core "4.1.3". and that causes a conflict ( as far as I understand ) as posted above.
I managed to fix this by modifying the main package.json before running "npm install" by strictly require a strict version of angular/animation instead of the latest as below:
"dependencies": { "@angular/animations": "4.1.3", "@angular/common": "4.1.3", "@angular/compiler": "4.1.3", "@angular/compiler-cli": "4.1.3", "@angular/core": "4.1.3", "@angular/forms": "4.1.3", "@angular/http": "4.1.3", "@angular/platform-browser": "4.1.3", "@angular/platform-browser-dynamic": "4.1.3", "@ionic-native/core": "3.10.2", "@ionic-native/splash-screen": "3.10.2", "@ionic-native/status-bar": "3.10.2", "@ionic/storage": "2.0.1", "ionic-angular": "3.4.2", "ionicons": "3.0.0", "rxjs": "5.4.0", "sw-toolbox": "3.6.0", "zone.js": "0.8.12" }
Thanks