The maintainer of node-postgres
, Brian C, answered the following in the issue I had opened on github:
The native bindings wont compile on v.0.11.x yet. Every minor version for the past 4 they've substantially changed the C/C++ layer and the native bindings always break. I'm not going to go through the effort of fixing them until closer to the v0.12.0 release because the code is still in flux on node's end and will break again.
Good news, you're not hosed:
- use the non-native bindings (
require('pg')
) which install even if the compilation fails - use node v0.10.x