Open alchemist1 opened 7 years ago
Have you fixed it?
Nope. Dropped ionic. Best, Yoav.
Sent from my iPhone
On Nov 17, 2017, at 6:46 PM, stefanotauriello notifications@github.com wrote:
Have you fixed it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
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.
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.
So what...? now body cannot solve it? no answer? @EddyVerbruggen Please help us...
@evseevnn Happy to merge a PR.
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
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.
It looks like you are trying to install via npm registry. Try cordova plugin add https://github.com/Nauzer/VideoCapturePlus-PhoneGap-Plugin.git
Unfortunately that generates the same error
@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?
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
[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):
.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)