Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Ionic issue #50

Open
alchemist1 opened this issue Jun 3, 2017 · 11 comments
Open

Ionic issue #50

alchemist1 opened this issue Jun 3, 2017 · 11 comments

Comments

@alchemist1
Copy link

I'm trying to install the plug-in and it gives me the error below

ionic cordova plugin add https://github.com/EddyVerbruggen/VideoC
apturePlus-PhoneGap-Plugin.git

cordova plugin add https://github.com/EddyVerbruggen/VideoCapturePlus-PhoneGap-Plugin.git --save
✖ Running command - failed!

[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova plugin add https://github.com/EddyVerbruggen/VideoCaptur
ePlus-PhoneGap-P... (exit code 1):

    You have been opted out of telemetry. To change this, run: cordova telemetry on.
    Error: Failed to fetch plugin https://github.com/EddyVerbruggen/VideoCapturePlus-PhoneGap-Plugin

.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 1 Error output:
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.orig
in.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit at Socket. (internal/child_process.js:334:11)
npm WARN addRemoteGit at emitOne (events.js:96:13)
npm WARN addRemoteGit at Socket.emit (events.js:188:7)
npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:498:12)

@stefanotauriello
Copy link

Have you fixed it?

@alchemist1
Copy link
Author

alchemist1 commented Nov 18, 2017 via email

@mitreya
Copy link

mitreya commented Nov 21, 2017

Hi, we have experienced the same error trying to add plugin on latest updated project ("Probably this is either a connection problem, or plugin spec is incorrect.") without ionic involved.
Is there some issue with new Cordova version?
Thank you.

@jaybloke
Copy link

jaybloke commented Mar 6, 2018

I'm also having the same issue....

ionic cordova plugin add https://github.com/EddyVerbruggen/VideoCapturePlus-PhoneGap-Plugin.git

Result:

(node:3125) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch plugin https://github.com/EddyVerbruggen/VideoCapturePlus-PhoneGap-Plugin.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 1 Error output:
npm ERR! code ENOPACKAGEJSON
npm ERR! package.json Non-registry package missing package.json: git+https://github.com/EddyVerbruggen/VideoCapturePlus-PhoneGap-Plugin.git.
npm ERR! package.json npm can't find a package.json file in your current directory.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/Jay/.npm/_logs/2018-03-06T09_18_02_589Z-debug.log
(node:3125) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@evseevnn-zz
Copy link

So what...? now body cannot solve it? no answer? @EddyVerbruggen Please help us...

@EddyVerbruggen
Copy link
Owner

@evseevnn Happy to merge a PR.

@Nauzer
Copy link
Contributor

Nauzer commented Mar 26, 2018

Can you try the fork in my account? I had some (similar) trouble with using in my Meteor project that I fixed for me specifically. If it works for Ionic as well I can submit a PR.

Link: https://github.com/Nauzer/VideoCapturePlus-PhoneGap-Plugin

@presidentnickson
Copy link

presidentnickson commented Mar 1, 2019

Hey Nauzer, your fork has the same problem in ionic unfortunately !

(node:70830) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch plugin https://github.com/Nauzer/VideoCapturePlus-PhoneGap-Plugin 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 1 Error output: npm ERR! code ENOPACKAGEJSON npm ERR! package.json Non-registry package missing package.json: git+https://github.com/Nauzer/VideoCapturePlus-PhoneGap-Plugin.git. npm ERR! package.json npm can't find a package.json file in your current directory.

@Nauzer
Copy link
Contributor

Nauzer commented Mar 1, 2019

It looks like you are trying to install via npm registry. Try cordova plugin add https://github.com/Nauzer/VideoCapturePlus-PhoneGap-Plugin.git

@presidentnickson
Copy link

Unfortunately that generates the same error

@presidentnickson
Copy link

@Nauzer I've managed to get it working from this fork here https://github.com/danielsogl/cordova-plugin-video-capture-plus - is it perhaps the package.json that is needed?

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

No branches or pull requests

8 participants