title: Heroku Cannot find module 'request'
body: <p>Bare bones Nodejs app works locally. Package.json modified per Heroku. Get error when deployed.</p>
  <p>My second Heroku deploy.  Took Heroku Sample app, deployed successfully, then modified Sample to have simple js - outlined as follows:</p>
  <p>require mongoose,  express, body-parser, request then</p>
  <pre><code>app.get(&quot;/&quot;, function(req, res) {res.sendFile(__dirname + &quot;/register.html&quot;);});
  
  Modified sample as above to make app a little more similar to what I eventually want to deploy.  Modified &quot;package.json&quot; to have:
  
  &quot;name&quot;: 
      &quot;js-getting-started&quot;,
      &quot;version&quot;: &quot;0.3.0&quot;,
      &quot;description&quot;: &quot;A sample Node.js app using Express 4&quot;,
      &quot;engines&quot;: {&quot;node&quot;: &quot;16.x&quot;},
  &quot;dependencies&quot;: {
      &quot;express&quot;: &quot;^4.17.3&quot;,
      &quot;mongoose&quot; : &quot;^6.2.5&quot;,
      &quot;mongodb&quot;: &quot;^4.2.0&quot;,&quot;body-parser&quot;: 
      &quot;^1.19.0&quot;},
      &quot;devDependencies&quot;: {&quot;got&quot;: &quot;^11.3.0&quot;,&quot;tape&quot;: &quot;^4.7.0&quot;
  },
  
  Undoubtedly remote and local environments not in synch. Set Node version to 16.x and 16.14.0 -- still get error.
  </code></pre>