title: nodejs 16.14 - lastest version pg-promise
body: <p>I don't have a strong web development background, but I have inherited a basic nodejs web server after our web developer left a few years ago.</p>
  <p>We had a very old versin of nodejs back from 2018 and for some reason after a server reboot nodejs has been updated to the latest version 16.14
  This has caused a number of issues in other packages (I'm actually suprises as much of the website runs then does not)</p>
  <p>Anyway, I was having an issue with pg-promise library just not working.  No errors just nothing really.</p>
  <p>This is what I was just trying to call just as a testing option at the entry of the website, but neither of these blocks get called.</p>
  <pre><code>const pipeDB = pipe(pipe_default_config);
  pipeDB.connect()
  .then(function(obj)
  {
      console.log(&quot;connection ok&quot;)
      console.log(obj.client.serverVersion);
      obj.done();
  })
  .catch(function(error)
  {
      console.log(&quot;error&quot;);
      console.log(error);
  });
  </code></pre>
  <p>This was all working before the Node update - I assume that its just an old versin of pg-promise from 2018 also, so was looking to getting it updated also.</p>
  <p>I downloaded the lastest from the git hub (<a href="https://github.com/vitaly-t/pg-promise" rel="nofollow noreferrer">https://github.com/vitaly-t/pg-promise</a>) copied it into the modules folder - I still have the original pg-promise module folder so I can revert etc.</p>
  <p>I am still getting no response from pg-promise, if there is anyone who can offer a suggestion that would be fantastic.</p>