brianc/node-libpq

AWS Hosting : libpq compiling

Opened this issue · 0 comments

Hi guys,
I have an issue deploying my code on my dev server on AWS (Amazon Linux instance).
It looks like the "libpq" module inherited from my psql config is crashing the thing.

Error: /home/ec2-user/common/node_modules/libpq/build/Release/addon.node: undefined symbol: node_module_register

FYI i'm using PM2 to run the app, that is causing this crash.
Using just "node start" it's running properly...

Any idea ?
Thx !
Alex