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

Unable to install plugin #66

Open
bmshubham opened this issue Aug 6, 2017 · 4 comments
Open

Unable to install plugin #66

bmshubham opened this issue Aug 6, 2017 · 4 comments

Comments

@bmshubham
Copy link

Hi,
I'm trying to install this plugin in my existing cordova project. My project currently doesn't have play service support. I'm using cordova 7.0.1 on my windows system.
below are the error logs which I get just after running the add plugin command. i.e.
cordova plugin add https://github.com/GetVideostream/cordova-chromecast.git

Error: Failed to fetch plugin https://github.com/GetVideostream/cordova-chromecast.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 4294963228 Error output:
npm ERR! addLocal Could not install C:\Users\shash\AppData\Local\Temp\npm-5956-21293606\git-cache-5bcb71aa\81ebbf80ea2513395ef8d695c0d
b612bd2e36e1a
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\shash\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "ins
tall" "https://github.com/GetVideostream/cordova-chromecast.git" "--save"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code EISDIR
npm ERR! errno -4068
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! D:\Shashank\Cordova\Gazebo\Gazebo-New\node_modules\npm-debug.log

@dabder
Copy link

dabder commented Aug 6, 2017

Hi,

I've got the same issue, package.json is missing.

Would you please apply the pending pull request?

Thanks

@dabder
Copy link

dabder commented Aug 10, 2017

HI users!

I forked this project and fix a couple of issues:
https://github.com/dabder/cordova-chromecast-1

Works out of the box with latest Cordova (7.0.1)
Enjoy

@bmshubham
Copy link
Author

Do @dabder you've any running sample code to understand this easily.

@dabder
Copy link

dabder commented Aug 11, 2017

I've just pushed my sandbox in the landing page.

This plugin implements Cast API v2 (not v3)

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

2 participants