nparashuram / cordova-plugin-browsersync

BrowserSync Plugin for Cordova
110 stars 69 forks source link

Can't install cordova-plugin-browsersync #54

Closed FinlayDaG33k closed 6 years ago

FinlayDaG33k commented 6 years ago

Hii there,

I've tried installing this plugin using: cordova plugin add cordova-plugin-browsersync

but I get this error every single time:

(node:15472) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to fetch plugin cordova-plugin-browsersync 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 4294963238 Error output:
npm WARN helloworld@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cordova-serve@file:file:tools\cordova-serve-2.0.0.tgz (node_modules\cordova-browser\node_modules\cordova-serve):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, stat 'C:\Users\Aroop\Documents\Git\MijnBoodschappen\file:tools\cordova-serve-2.0.0.tgz'

npm ERR! path C:\Users\Aroop\Documents\Git\MijnBoodschappen\file:cordova-dist\tools\cordova-common-2.2.0.tgz
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall stat
npm ERR! enoent ENOENT: no such file or directory, stat 'C:\Users\Aroop\Documents\Git\MijnBoodschappen\file:cordova-dist\tools\cordova-common-2.2.0.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Aroop\AppData\Roaming\npm-cache\_logs\2018-02-08T12_22_30_718Z-debug.log
(node:15472) [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 ideas?

FinlayDaG33k commented 6 years ago

Updating to the latest and greatest versions of NodeJS and NPM fixed this issue