After updating Node JS and Node-RED to the latest version,
a connection timeout error occurs when running the program.
Could it be that the postgres (node-red-contrib-postgres-variable) node is not compatible with the latest version?
Windows 10 Pro
Node.js version: v14.17.6
Node-RED version: v2.0.6
node-red-contrib-postgres-variable version: v0.1.4
As mentioned in the comments, this is down to a bug in the underlying node-progress library with regard to NodeJS v14.
There is an pull request for the node-red-contrib-postgress-variable node to fix this, but at this time it has not been merged.
Your options are
package.json
locally and run npm install
in the node's directory