I am trying to use npm to install bower (with -g or without -g) but unable to do so. The installing wheel just keeps rotating for continuously but nothing gets installed.
I tried looking for help online but nobody seems to have had this issue before.
Solutions tried 1. tried npm cache clean, didn't help. 2. Manually cleared bower folders and lock in the ~/.npm folder.
Node version -- 0.12.0 npm version -- 2.5.1 OS - Yosemite
After a really long wait, I got the following error. My internet is working and neither am I behind a proxy.
npm ERR! Darwin 14.1.0 npm ERR! argv "/Users/jayesh/.nvm/versions/node/v0.12.0/bin/node" "/Users/jayesh/.nvm/versions/node/v0.12.0/bin/npm" "install" "-g" "bower" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request: npm ERR! /Users/jayesh/npm-debug.log
Aucun commentaire:
Enregistrer un commentaire