Can not install File Chooser plugin

When I tried to install File Chooser plugin using

$ ionic plugin add --save GitHub - don/cordova-filechooser: Cordova Plugin that supplies a File Chooser

I got the following errors

Error: Failed to fetch plugin GitHub - don/cordova-filechooser: Cordova Plugin that supplies a File Chooser via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.

My system information:

Cordova CLI: 7.0.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.7
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.10.0
Xcode version: Xcode 8.3.2 Build version 8E2002

Works for me, so I suspect something is broken with your network setup, like a proxy that npm doesn’t understand how to use.

Thank you for your reply.

After downgrading Cordova from 7.0.0 to 6.5.0, it works fine.

1 Like

Id doesn’t work for me either. I’m on Cordova 7.0.0 not sure the right solution is to downgrade?

How to downgrade Cordova 7.0.1 to 6.5.0…??

Thanks @Kuolung
It works fine after downgrading cordova 7.0.1 to 6.5.0 by below command-
npm install -g cordova@6.5.0

1 Like

My project crashes whenever I step down to Cordova 6.5.0. And after 2 months, we still have plugin not installed error for Filechooser.