title: npm not working after clearing cache
body: <p>Before clearing cache</p>
  
  <pre><code>npm cache clear
  </code></pre>
  
  <p>npm is working fine. After clearing cache, it is not working. 
  The error log below suggest problem with internet connectivity but internet connection is just fine. 
  This problem does not only happen for bower but for any modules.</p>
  
  <p>Here's the output of process:</p>
  
  <pre><code>&gt; sudo npm install -g bower Password: npm http GET
  &gt; https://registry.npmjs.org/bower npm http GET
  &gt; https://registry.npmjs.org/bower npm http GET
  &gt; https://registry.npmjs.org/bower npm ERR! network connect ETIMEDOUT
  &gt; npm ERR! network This is most likely not a problem with npm itself npm
  &gt; ERR! network and is related to network connectivity. npm ERR! network
  &gt; In most cases you are behind a proxy or have bad network settings. npm
  &gt; ERR! network npm ERR! network If you are behind a proxy, please make
  &gt; sure that the npm ERR! network 'proxy' config is set properly.  See:
  &gt; 'npm help config'
  &gt; 
  &gt; npm ERR! System Darwin 12.5.0 npm ERR! command
  &gt; "/usr/local/Cellar/node/0.10.16/bin/node" "/usr/local/bin/npm"
  &gt; "install" "-g" "bower" npm ERR! cwd /Users/username npm ERR!
  &gt; node -v v0.10.16 npm ERR! npm -v 1.3.8 npm ERR! syscall connect npm
  &gt; ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! npm ERR!
  &gt; Additional logging details can be found in: npm ERR!    
  &gt; /Users/username/npm-debug.log npm ERR! not ok code 0
  </code></pre>