title: Browserify Cannot find module when trying to bundle many js files
body: <p>This is my first day doing node, I'm having some problems trying to bundle some js files.</p>
  <pre><code>MyFolder
  |-- app (folder)   
  |  |-- Collections (contains: movies.js)   
  |  |-- Models (contains: movie.js)  
  |  |-- node_modules  
  |-- main.js  
  |-- node_modules (folder)    
  |-- static (folder)  
  </code></pre>
  <p>This is the content of js files I want to compress into static/bundle.js.</p>
  <pre><code> // app/models/movie.js  
   var Backbone = require(&quot;backbone&quot;);
   var Movie = Backbone.Model.extend({
     defaults: {
       title: &quot;default&quot;,
       year: 0,
       description: &quot;empty&quot;,
       selected: false
     }
   });
   module.exports = Movie;
  
   // app/collections/movies.js  
   var Backbone = require(&quot;backbone&quot;);
   var Movie = require('models/movie');
   var Movies = Backbone.Collection.extend({
        model: Movie
   });
   module.exports = Movies;
  </code></pre>
  <p>When I run <code>browserify -r ./app/main:app &gt; static/bundle.js</code> the file bundle.js is created with the scripts from app/main.js. It works as expected.</p>
  <p>But when I run <code>browserify -r ./app/collections/movies.js:movies \ -r ./app/models/movie.js:movie &gt; static/bundle.js</code>, it creates an empty bundle.js and shows this:</p>
  <pre><code>Error: Cannot find module '/Users/MyFolder/app/models/movie.js:movie' from '/Users/MyFolder'  
  </code></pre>
  <p>My folder <code>app/node_modules</code> is sync with <code>ln -sf ../models .</code> and <code>ln -sf ../collections .</code></p>
  <p><strong>Question 1:</strong> Any hint what I'm doing wrong?<br />
  <strong>Question 2:</strong> If <code>static/bundle.js</code> exists. Does running browserify again overwrites the file or not? On my local tests it doesn't overwrite, so am I supposed to delete this file each time for update?</p>