gyp: Call to 'pg_config --libdir' returned exit status 127. while trying to load binding.gyp #223
Comments
|
good day I have tried entering the module "/ root/nvm/v0.8.21/lib/node_modules/pg" But still the output is as follows:
I expect prompt response, thanks |
|
It looks like you're missing a |
|
Hello TooTallNate run the following commands:
The output was:
Do not know if it was a clean install, or even no problems? regards |
|
Sorry to be dense, but I see a lot of people confused by this. Can you please confirm that when I see this:
What is REALLY happening is that the people who made the module are using node-gyp to do their install, and it is THEIR problem. Not node-gyp's problem at all, right? When it follows up with:
I get this really negative impression of node-gyp because every time I have an |
|
I want to throw this in here as this happens a lot for me. A: Don't use two different db libraries by accident: i.e. I know it's not entirely on topic - but this is the first google search result for this problem and its a common one. Just want to help whoever ends up here. |
/bin/sh: 1: pg_config: not found
gyp: Call to 'pg_config --libdir' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error:
gypfailed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:416:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:754:12)
gyp ERR! System Linux 3.2.0-39-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/geddy/node_modules/model/node_modules/pg
gyp ERR! node -v v0.10.0
gyp ERR! node-gyp -v v0.8.5
gyp ERR! not ok
encountered error while trying to install geddy on node v0.10.0
The text was updated successfully, but these errors were encountered: