I’m trying to install a forked cordova plugin using
ionic cordova plugin add https://github.com/baldodavi/cordova-plugin-ibeacon.git
obtaining this error
> cordova plugin add https://github.com/baldodavi/cordova-plugin-ibeacon.git --save
(node:5748) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch plugin https://github.com/baldodavi/cordova-plugin-ibeacon.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 ERR! code 1
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE submodule update -q --init --recursive
npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 7: basename: command not found
npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 7: sed: command not found
npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 19: .: git-sh-setup: file not found
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ionic2\AppData\Roaming\npm-cache\_logs\2018-03-30T11_14_26_959Z-debug.log
(node:5748) [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.
Any help?
Thanks in advance.
David.