title: Extraneous Package when Installed Locally
body: <p>I was trying to install <em>phantomjs</em> in order to <code>make test</code> <a href="http://twitter.github.io/bootstrap/" rel="noreferrer">Twitter Bootstrap</a>. After I had installed it locally i.e. <code>npm install phantomjs</code>, it reported that the package was extraneous.</p>
  
  <pre><code>├─┬ phantomjs@1.9.0-3 extraneous
  │ ├── adm-zip@0.2.1
  ...
  npm ERR! extraneous: phantomjs@1.9.0-3 /Users/admin/bootstrap/node_modules/phantomjs
  npm ERR! not ok code 0
  </code></pre>
  
  <p>However, when <em>phantomjs</em> was installed globally i.e. <code>npm install phantomjs -g</code>, it worked fine i.e. no extraneous error reported.</p>
  
  <p>Questions:</p>
  
  <ol>
  <li>Is it because <em>phantomjs</em> <a href="http://himanshu.gilani.info/blog/2012/10/17/npm-features-and-options-demystified/" rel="noreferrer">not specified in the <em>package.json</em> file</a>?</li>
  <li>General question: Can we have any package e.g. <em>phantomjs</em> installed globally and also locally?</li>
  </ol>