title: npm private modules error
body: <p>I've couple of private modules that are not on the npm site and I'd like to use them in my application but running in couple of issues while uploading at Elasticbeanstalk. (Elastic beanstalk runs it's npm install after each upload).</p>
  
  <ol>
  <li><p>The AWS complained initially that it couldn't find those private modules on NPM, so I removed their entries from package.json file.</p></li>
  <li><p>Once I removed, I uploaded the application again with node_modules folder having those packages then AWS start to complain</p>
  
  <pre><code>Error: Cannot find module 'my-private-module-name'
  </code></pre></li>
  </ol>
  
  <p>I'm wondering how private modules work so I don't have to go through NPM at least for deployment or as a last resort I'll publish them.</p>
  
  <p>Edit</p>
  
  <pre><code>"dependencies": {
      "body-parser": "^1.12.4",
      "express": "^4.12.3",
      "multer": "^0.1.8",
      "mustache": "^2.0.0",
      "mysql": "^2.6.2",
      "my-private-module": "^1.0.5",
      "redis": "^0.12.1",
      "socket.io": "^1.3.3"
    },
  </code></pre>