Failed to add ImagePicker plugin on iOS

ionic cordova plugin add cordova-plugin-telerik-imagepicker

fails on Mac with the following error:

An error occurred while running cordova plugin add cordova-plugin-telerik-imagepicker --save (exit code 1):

    Error: Failed to fetch plugin git+https://github.com/Telerik-Verified-Plugins/ImagePicker.git via registry.
    Probably this is either a connection problem, or plugin spec is incorrect.
    Check your connection and plugin name/version/URL.
    Failed to get absolute path to installed module

My environment:

cli packages:

@ionic/cli-plugin-cordova       : 1.5.0 
@ionic/cli-plugin-ionic-angular : 1.4.0 
@ionic/cli-utils                : 1.6.0 
ionic (Ionic CLI)               : 3.6.0 

global packages:

Cordova CLI : 7.0.1 

local packages:

@ionic/app-scripts : 2.1.3
Cordova Platforms  : ios 4.4.0
Ionic Framework    : ionic-angular 3.6.0

System:

Node       : v8.1.3
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b 
ios-deploy : 1.9.1 
npm        : 5.3.0 

Is anybody else having this problem?

Try using the option --nofetch (cordova@7.0.1) fixed it:

ionic cordova plugin add cordova-plugin-telerik-imagepicker --nofetch

No luck with that bro, but thanks anyway. I tried all possible combinations:

ionic cordova plugin add cordova-plugin-telerik-imagepicker --nofetch

cordova plugin add cordova-plugin-telerik-imagepicker --nofetch

ionic cordova plugin add GitHub - Telerik-Verified-Plugins/ImagePicker: Cordova Plugin For Multiple Image Selection

ionic cordova plugin add GitHub - Telerik-Verified-Plugins/ImagePicker: Cordova Plugin For Multiple Image Selection --nofetch

The only one that worked was this:

cordova plugin add GitHub - Telerik-Verified-Plugins/ImagePicker: Cordova Plugin For Multiple Image Selection --nofetch

Not sure if it’s ok to do this way. Does anybody has an opinion on this?

Also, seems like the original cordova issue is still there.

I’m bumping in to the same issues with “com.dooble.audiotoggle”.

I can only use cordova plugin add https://github.com/alongubkin/audiotoggle --nofetch to install it.

It works fine when I build locally, in --prod --release mode.

The only problem I’m encountering is that it that the build fails in my IONIC PRO account. I suppose they do not use --nofetch.

Is they a way to specify in my package.json to use --nofetch for this dependancy ???

Anyway a little confused. Anyone knows?