dmanjunath / node-redshift

A simple collection of tools to help you get started with Amazon Redshift from node.js
69 stars 48 forks source link

Module working with 12.13.1 but not working with the latest Node version 14.15.0 LTS #37

Open pvijender opened 4 years ago

pvijender commented 4 years ago

Hi there,

This node module is working fine with 12.13.1 but on 14.15.0 LTS it isnt responding.

For users who are on the current version of the Node JS this could be an issue as there is no error message which is displayed.

JoseAReinoso commented 3 years ago

Hello Everyone!!, Do we have an update on this issue ?

jkao commented 3 years ago

I have a PR that works with Node 14:

https://github.com/dmanjunath/node-redshift/pull/38

Issue is the pg module:

https://github.com/brianc/node-postgres/issues/2180

arnaudbesnier commented 3 years ago

If you are using yarn, a resolution defined in your package.json is a good workaround:

"resolutions": {
   "pg": "8.5.1"
}

It fixed the issue on our project.

Romstar commented 3 years ago

If you are using yarn, a resolution defined in your package.json is a good workaround:

"resolutions": {
   "pg": "8.5.1"
}

It fixed the issue on our project.

this did not work for me.

mschersten commented 3 years ago

I just discovered this issue after a few days of trying to make a new lambda function work. Couldn't figure out why old functions worked and this new one didn't, copied line by line trying to get something to come out. Really confusing because there's just no error message at all.

While waiting for a fix, would it be possible to just add a note in the documentation explaining the issue?

noman55 commented 1 year ago

Use this package https://www.npmjs.com/package/node-redshift-connector it solves the above connectivity issue