Hi,
When I try to add my android platform back in to my project I get a weird error.
> cordova platform add android@latest --save
✖ Running command - failed!
[ERROR] Exception: Using cordova-fetch for cordova-android@latest
Error: Failed to fetch platform cordova-android@latest
Probably this is either a connection problem, or platform spec is
incorrect.
Check your connection and platform name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! Linux 4.10.0-37-generic
npm ERR! argv "/usr/local/bin/node"
"/home/thijmen/Desktop/abk/node_modules/.bin/npm" "install"
"cordova-android@latest" "--production" "--save-exact"
npm ERR! node v6.11.4
npm ERR! npm v2.15.12
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package zone.js@0.8.18 does not satisfy its
siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/core@2.4.10 wants zone.js@^0.7.2
npm ERR! Please include the following file with any support request:
npm ERR! /home/thijmen/Desktop/abk/npm-debug.log
Ionic info
cli packages: (/home/thijmen/Desktop/abk/node_modules)
@ionic/cli-utils : 1.13.1
ionic (Ionic CLI) : 3.13.2
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms : none
Ionic Framework : ionic-angular 3.3.0
System:
Node : v6.11.4
npm : 2.15.12
OS : Linux 4.10
Misc:
backend : pro
I hope some one knows a fix for this.
Thanks in advance