-
Notifications
You must be signed in to change notification settings - Fork 210
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
Comments
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. |
@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. |
package.json file is missing. |
@mitaljoshi thanks I merged #22 so should work now |
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.
The text was updated successfully, but these errors were encountered: