Git Product home page Git Product logo

Comments (7)

netmikey avatar netmikey commented on June 16, 2024 2

I have the same issue trying to install the exoplayer plugin from Github on macOS:

$ ../node_modules/.bin/cordova plugin add https://github.com/frontyard/cordova-plugin-exoplayer
Error: Failed to fetch plugin https://github.com/frontyard/cordova-plugin-exoplayer 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/yq/t6hfv8453z5693m7zt4m0qsh0000gn/T/npm-5152-64b122ae/git-cache-65041863/eb052c879ecfc600ddd09510c72f491a821a5fb7
npm ERR! Darwin 16.5.0
npm ERR! argv "/opt/local/bin/node" "/opt/local/bin/npm" "install" "https://github.com/frontyard/cordova-plugin-exoplayer" "--save"
npm ERR! node v6.9.4
npm ERR! npm  v3.10.8
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.

from cordova-plugin-ios-keychain.

yeldarby avatar yeldarby commented on June 16, 2024

I hope the plugin maintainer doesn't mind but I was able to fix this temporarily by forking the repo, publishing it to npm, and installing it from there.

from cordova-plugin-ios-keychain.

netmikey avatar netmikey commented on June 16, 2024

Looks like this is coming from this issue: https://issues.apache.org/jira/browse/CB-12680

TL;DR: The plugin needs to include a package.json to be fetchable from git.

from cordova-plugin-ios-keychain.

wilkesreid avatar wilkesreid commented on June 16, 2024

I just submitted a pull request to just add a generic package.json to fix this.

from cordova-plugin-ios-keychain.

samuelcastro avatar samuelcastro commented on June 16, 2024

Any updates here, I'm still getting the same issue?

from cordova-plugin-ios-keychain.

bg-wilkesreid avatar bg-wilkesreid commented on June 16, 2024

We are waiting on @mlynch to merge the pull request that will solve this.

from cordova-plugin-ios-keychain.

mlynch avatar mlynch commented on June 16, 2024

Merged some fixes to this, cheers

from cordova-plugin-ios-keychain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.