mkuklis / phonegap-websocket

Websocket PhoneGap plugin for Android
203 stars 78 forks source link

npm ERR! code ENOPACKAGEJSON #58

Open ayoubedeafi opened 6 years ago

ayoubedeafi commented 6 years ago

$ 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.