Hello everyone.
Lately I’m seeing an error again and again. By that I mean if I try to add plugins or platforms I get the follwoing error:
cordova platform add android@latest --save
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.
Failed to get absolute path to installed module
It seems like ionic doesn’t find the git repositories of plugins or platforms anymore. This is very strange to me. Does anyone know would could be the cause for this?
Here is my ionic info:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : ios 4.5.4
Ionic Framework : ionic-angular 3.9.2
System:
ios-deploy : 1.9.2
ios-sim : 6.0.0
Node : v9.4.0
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40b
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro