title: nodemon not running due to requires update notifier package
body: <p>When I typed "nodemon server.js" command in the terminal, it returns the error "require('update-notifier')({ pkg }).notify();". The version of nodemon installed is nodemon@1.17.3</p>
  
  <p><a href="https://i.stack.imgur.com/6JEv6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6JEv6.png" alt="enter image description here"></a></p>
  
  <p>Below are the javascript and html used.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var express = require('express');
  var app = express();
  var port = 8888;
  
  app.get('/', function(req, res, next) {
    res.sendFile(__dirname + '/index.html');
  });
  
  app.listen(port, '0.0.0.0', function() {
    console.log('Server running at port ' + port);
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
    &lt;title&gt;My NodeJS Website&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;p&gt;Hello World!&lt;/p&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>