$ cordova plugin add https://github.com/mkuklis/phonegap-websocket --nofetch
(node:60828) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch plugin https://github.com/mkuklis/phonegap-websocket 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/mkuklis/phonegap-websocket.git.
npm ERR! package.json npm can't find a package.json file in your current directory.
$ cordova plugin add https://github.com/mkuklis/phonegap-websocket --nofetch (node:60828) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch plugin https://github.com/mkuklis/phonegap-websocket 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/mkuklis/phonegap-websocket.git. npm ERR! package.json npm can't find a package.json file in your current directory.