Ok so i was try to start working on the translations for my app and npm fails to properly install due to a conflict in the required versions of ionic vs ionic-angular.
here is the relevant section of the ionic package.json
"@angular/common": "^4.3.6",
"@angular/compiler": "^4.3.6",
"@angular/compiler-cli": "^4.3.6",
"@angular/core": "^4.3.6",
"@angular/forms": "^4.3.6",
"@angular/http": "^4.3.6",
"@angular/platform-browser": "^4.3.6",
"@angular/platform-browser-dynamic": "^4.3.6",
"ionic-angular": "^3.6.1",
the problem is that ionic-angular is requiring versions 4.1.3 of the angular modules see below:
peerDependencies:
{ '@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',
rxjs: '5.4.0',
'zone.js': '0.8.12' },
I’m not an npm expert but i would guess if ionic/my app is requiring 3.6.0 but ionic-angular is requiring exact versions of the angular modules we have a real problem. Anyone have a fix?