I’m fighting an unmet dependency concerning zone.js, here’s the error when I run npm install
└── UNMET PEER DEPENDENCY zone.js@0.7.6
npm WARN @angular/core@2.2.1 requires a peer of zone.js@^0.6.21 but none was installed.
npm WARN ionic-angular@2.0.0 requires a peer of zone.js@~0.6.26 but none was installed.
the following is my package.json file
{
“name”: “my app”,
“author”: “my company”,
“homepage”: “http://mydomain.com/”,
“private”: true,
“scripts”: {
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“dependencies”: {
“@angular/common”: “2.2.1”,
“@angular/compiler”: “2.2.1”,
“@angular/compiler-cli”: “2.2.1”,
“@angular/core”: “2.2.1”,
“@angular/forms”: “2.2.1”,
“@angular/http”: “2.2.1”,
“@angular/platform-browser”: “2.2.1”,
“@angular/platform-browser-dynamic”: “2.2.1”,
“@angular/platform-server”: “2.2.1”,
“@ionic/storage”: “1.1.7”,
“ionic-angular”: “2.0.0”,
“ionic-native”: “2.5.1”,
“ionicons”: “3.0.0”,
“rxjs”: " 5.0.0-beta.12",
“sw-toolbox”: “3.4.0”,
“zone.js”: “0.7.6”
},
“devDependencies”: {
“@ionic/app-scripts”: “1.0.0”,
“suncalc”: “^1.8.0”,
“typescript”: “2.1.6”
},
“cordovaPlugins”: [
“cordova-plugin-whitelist”,
“cordova-plugin-console”,
“cordova-plugin-statusbar”,
“cordova-plugin-device”,
“cordova-plugin-splashscreen”,
“ionic-plugin-keyboard”
],
“cordovaPlatforms”: [
“ios”,
{
“platform”: “ios”,
“version”: “”,
“locator”: “ios”
}
],
“description”: “my app”
}
not sure what i need to do. If i try to just install zone.js, I get the following:
└── zone.js@0.6.26 invalid
any thoughts?