You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently had to upgrade my node.js version for my vue.js application (node.js on the backend) from v13.5.0 to v14.5.0. I reinstalled all my node packages, upgrading the ones I had to upgrade, and now the application hangs on all DB calls. We are using pg for our database calls. I upgraded pg to version 7.18.2.
Hello,
I recently had to upgrade my node.js version for my vue.js application (node.js on the backend) from v13.5.0 to v14.5.0. I reinstalled all my node packages, upgrading the ones I had to upgrade, and now the application hangs on all DB calls. We are using pg for our database calls. I upgraded pg to version 7.18.2.
Our initialization code looks like this:
this.pg = require('pg');
...
this.client = new this.pg.Client({
application_name: 'Back end',
ssl: {
rejectUnauthorized: false
}
});
this.initPromise = this.client.connect();
I put console logs around the call to this.client.connect() as follows:
console.log('before');
this.initPromise = this.client.connect();
console.log('after');
'after' never prints out.
Does anyone know why it hangs now that I've upgrade my node version?
The text was updated successfully, but these errors were encountered: