title: Browserify - cannot find module 'jquery'
body: <p>I am trying to bundle up my app with browserify and am getting this error:<br> <code>Cannot find module 'jquery' from '/home/test/node_modules/backbone'</code></p>
  
  <p>Now questions of this nature have been asked before, but the solutions haven't helped me. Perhaps I have somewhat of a unique case.</p>
  
  <p>In another app, running <code>npm install jquery</code> fixed it. I didn't have it in my <code>package.json</code> and I wasn't requiring <code>jquery</code> in any of my files like what's done <a href="https://stackoverflow.com/questions/19747500/how-to-use-browserify-to-bundle-a-backbone-app">here</a>. Everything worked.</p>
  
  <p>In this new app, it doesn't. I tried reinstalling jquery with npm. Nothing. Added it to my dependencies in <code>package.json</code>. Nothing. Included it in my code:</p>
  
  <p><code>$ = require('jquery'); Backbone.$ = $;</code></p>
  
  <p>Nothing.</p>
  
  <p>Does anyone have experience with this? What could be going wrong?</p>
  
  <p><strong>Edit:</strong><br></p>
  
  <p>Diff'd the <code>package.json</code> of the jquery module in the working app and the current one.</p>
  
  <p>Working one:</p>
  
  <pre><code> "url": "https://github.com/jquery/jquery.git"
   "_from": "jquery@*"
  </code></pre>
  
  <p>Broken one:</p>
  
  <pre><code> "url": "git+https://github.com/jquery/jquery.git"
   "_from": "jquery@&gt;=2.1.0 &lt;3.0.0"
   "readme": "ERROR: No README data found!"
  </code></pre>
  
  <p>If you want more context (line numbers, parent property, and such), I'd be happy to provide that. I just wanted to simplify it - maybe something stands out.</p>
  
  <p><strong>Edit 2:</strong></p>
  
  <p>Changing the <code>"url"</code> param shouldn't changed anything. Replacing the <code>"_from"</code> with the one that works didn't change anything.</p>
  
  <p>Now, I'm wondering why <code>README data</code> is not found. My README files are the same. Granted, I highly doubt that this is the source of the problem.</p>
  
  <p><strong>Edit 3:</strong><br><br>
  My solution was to remove the jquery module and just include jquery.js in my index view. I'm not particularly happy with this, but it works.</p>
  
  <p>I would still like an answer though; curious what was wrong before.</p>