Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install with Cordova CLI #29

Open
YourName-App opened this issue May 7, 2017 · 7 comments
Open

Can't install with Cordova CLI #29

YourName-App opened this issue May 7, 2017 · 7 comments

Comments

@YourName-App
Copy link

When I tried to install this plugin using
$ cordova plugin add http://github.com/don/cordova-filechooser.git
I got the following errors:

Error: Failed to fetch plugin http://github.com/don/cordova-filechooser.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
@theinvensi
Copy link

+1

@root-io root-io mentioned this issue May 17, 2017
@pixael
Copy link

pixael commented Jun 6, 2017

+1 it doesn't work with cordova 7.0.0

@lithiumbj
Copy link

Exactly the same error, any hotfixes?
Error trace
`Error: Failed to fetch plugin https://github.com/don/cordova-filechooser.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 235 Error output:
npm ERR! addLocal Could not install /tmp/npm-27866-4ec79b26/git-cache-f9bf63a0/c97ffb70a339ed2fa20eec5d7a7344a14cf268fd
npm ERR! Linux 4.10.0-22-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/don/cordova-filechooser.git" "--save"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request:
npm ERR! /home/borja/.npm/_logs/2017-06-13T08_58_53_974Z-debug.log
`

@gabaum10
Copy link

+1

2 similar comments
@loicsalou
Copy link

+1

@bracali
Copy link

bracali commented Sep 19, 2017

+1

@neilmaledev
Copy link

//downgrade first
sudo npm install [email protected]

//install
sudo cordova plugin add http://github.com/don/cordova-filechooser.git

//go back to latest
sudo npm install cordova

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants