title: npm not reading .npmrc file
body: <p>I'm trying to install a library from a private repository, and I keep getting an error in trying to use npm.</p>
  
  <p>I'm using:
  OSX Mavericks 10.9.3
  Node v0.10.28
  npm 1.4.10 (this was installed after trying with 1.4.13 and it still not working)</p>
  
  <p>I am running this from my home directory, and the <code>~/.npmrc</code> file is in the directory. </p>
  
  <p>whenever I run the command: <code>npm install 'library name here'</code></p>
  
  <p>I get the following error:</p>
  
  <pre><code>npm http GET https://registry.npmjs.org/dslib-js
  npm http 404 https://registry.npmjs.org/dslib-js
  npm ERR! 404 404 Not Found: dslib-js
  npm ERR! 404 
  npm ERR! 404 'dslib-js' is not in the npm registry.
  npm ERR! 404 You should bug the author to publish it
  npm ERR! 404 
  npm ERR! 404 Maybe try 'npm search dslib'
  npm ERR! 404 
  npm ERR! 404 Note that you can also install from a
  npm ERR! 404 tarball, folder, or http url, or git url.
  
  npm ERR! System Darwin 13.2.0
  npm ERR! command "node" "/usr/local/bin/npm" "install" "dslib-js"
  npm ERR! cwd /Users/marcos.pedreiro
  npm ERR! node -v v0.10.28
  npm ERR! npm -v 1.4.10
  npm ERR! code E404
  npm ERR! 
  npm ERR! Additional logging details can be found in:
  npm ERR!     /Users/marcos.pedreiro/npm-debug.log
  npm ERR! not ok code 0
  </code></pre>
  
  <p>Edits:</p>
  
  <p>When I run <code>ls -a</code> (in the home directory) this is the output:</p>
  
  <pre><code>.           .ssh            Music
  ..          .subversion     Pictures
  .CFUserTextEncoding .vagrant.d      Public
  .DS_Store       Applications        VirtualBox VMs
  .Trash          Desktop         clients
  .bash_history       Documents       dev
  .gradle         Downloads       npm-debug.log
  .matlab         Google Drive        ~:.npmrc
  .npm            Library         ~:.npmrc.template
  .npmrc.bak      Movies
  </code></pre>
  
  <p>This is the output of the command <code>npm config ls -l | grep config</code> </p>
  
  <pre><code>; cli configs
  globalconfig = "/usr/local/etc/npmrc"
  userconfig = "/Users/marcos.pedreiro/.npmrc"
  </code></pre>
  
  <p>:End Edits</p>
  
  <p>Any help would be greatly appreciated. Thanks!</p>