Cordova - what will happen if I run multiple time npm install -g cordova? -


i have window 7 os, through cmd happen if run multiple time npm install -g cordova ?

i facing following error :- npm err! fetch failed https://registry.npmjs.org/cordova-app-hello-world/-/cordo va-app-hello-world-3.10.0.tgz

microsoft windows [version 6.1.7601]  copyright (c) 2009 microsoft corporation.  rights reserved.    c:\users\sandy_pc>node --version  v4.3.0    c:\users\sandy_pc>npm unistall -g cordova    usage: npm <command>    <command> 1 of:      access, add-user, adduser, apihelp, author, bin, bugs, c,      cache, completion, config, ddp, dedupe, deprecate, dist-tag,      dist-tags, docs, edit, explore, faq, find, find-dupes, get,      help, help-search, home, i, info, init, install, issues, la,      link, list, ll, ln, login, logout, ls, outdated, owner,      pack, ping, prefix, prune, publish, r, rb, rebuild, remove,      repo, restart, rm, root, run-script, s, se, search, set,      show, shrinkwrap, star, stars, start, stop, t, tag, team,      test, tst, un, uninstall, unlink, unpublish, unstar, up,      update, upgrade, v, verison, version, view, whoami    npm <cmd> -h     quick on <cmd>  npm -l           display full usage info  npm faq          commonly asked questions  npm <term>  search on <term>  npm npm     involved overview    specify configs in ini-formatted file:      c:\users\sandy_pc\.npmrc  or on command line via: npm <command> --key value  config info can viewed via: npm config    npm@2.14.12 c:\program files\nodejs\node_modules\npm    c:\users\sandy_pc>npm install -g cordova  npm err! fetch failed https://registry.npmjs.org/cordova-app-hello-world/-/cordo  va-app-hello-world-3.10.0.tgz  npm warn retry retry, error on last attempt: error: connect econnrefused 18  5.31.17.162:443  npm err! fetch failed https://registry.npmjs.org/cordova-app-hello-world/-/cordo  va-app-hello-world-3.10.0.tgz  npm warn retry retry, error on last attempt: error: connect econnrefused 18  5.31.17.162:443  npm err! fetch failed https://registry.npmjs.org/cordova-app-hello-world/-/cordo  va-app-hello-world-3.10.0.tgz  npm err! windows_nt 6.1.7601  npm err! argv "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\  node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"  npm err! node v4.3.0  npm err! npm  v2.14.12  npm err! code econnrefused  npm err! errno econnrefused  npm err! syscall connect    npm err! error: connect econnrefused 185.31.17.162:443  npm err!     @ object.exports._errnoexception (util.js:870:11)  npm err!     @ exports._exceptionwithhostport (util.js:893:20)  npm err!     @ tcpconnectwrap.afterconnect [as oncomplete] (net.js:1063:14)  npm err!  { [error: connect econnrefused 185.31.17.162:443]  npm err!   code: 'econnrefused',  npm err!   errno: 'econnrefused',  npm err!   syscall: 'connect',  npm err!   address: '185.31.17.162',  npm err!   port: 443,  npm err!   parent: 'cordova-lib' }  npm err!  npm err! if behind proxy, please make sure  npm err! 'proxy' config set properly.  see: 'npm config'    npm err! please include following file support request:  npm err!     c:\users\sandy_pc\npm-debug.log    c:\users\sandy_pc>

npm install -g cordova fetches whatever new version of cordova available in repo , installs in device replacing previous version. npm update -g cordova same thing. however, npm install, choice of choosing specific version. eg: npm install -g cordova@3.1.0-0.2.0 such.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -