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

Error #21

Open
thecouk opened this issue Jun 26, 2017 · 4 comments
Open

Error #21

thecouk opened this issue Jun 26, 2017 · 4 comments

Comments

@thecouk
Copy link

thecouk commented Jun 26, 2017

Error: Failed to fetch plugin https://github.com/don/cordova-plugin-hello.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 /var/folders/7c/f11qll2s2sn3sbn77m6jmxj40000gn/T/npm-4881-9c5627f7/git-cache-485b75f0/d88f773deba3123b0a041da005972f9908f7f152
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/don/cordova-plugin-hello.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.

@F1LT3R
Copy link

F1LT3R commented Jul 19, 2017

Also seeing this error. I am not having the error with other packages.

You know what's ironic? This is the first package people will try as they read how to add plugins to cordova. :)

Not hugely encouraging.

@thecouk
Copy link
Author

thecouk commented Jul 19, 2017

@F1LT3R Hello Alistair, you are right it was not very encouraging to give me error in the first tutorial I found that it was just this, however I continued researching and found the following tutorial: How to write Cordova Plugins with this base I can create my own, so if it works for you then the link: Plantilla para un Plugin de Cordova I hope you help, best regards.

@ghost
Copy link

ghost commented Jun 18, 2018

package.json file is missing.

@don
Copy link
Owner

don commented Jun 19, 2018

@mitaljoshi thanks I merged #22 so should work now

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

3 participants