Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug installing #55

Open
ghost opened this issue Sep 29, 2017 · 3 comments
Open

bug installing #55

ghost opened this issue Sep 29, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 29, 2017

anibal@LENOVO:~/eclipse-workspace/prueba12/WebContent/sequelize$ npm install

[email protected] install /home/anibal/eclipse-workspace/prueba12/WebContent/sequelize/node_modules/libpq
node-gyp rebuild

find: «/usr/pg*»: No existe el archivo o el directorio
gyp: Call to 'which pg_config || find /usr/bin /usr/local/bin /usr/pg* /opt -executable -name pg_config -print -quit' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 4.10.0-35-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/anibal/eclipse-workspace/prueba12/WebContent/sequelize/node_modules/libpq
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] /home/anibal/eclipse-workspace/prueba12/WebContent/sequelize
└── (empty)

npm ERR! Linux 4.10.0-35-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.11.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the libpq package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs libpq
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls libpq
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/anibal/eclipse-workspace/prueba12/WebContent/sequelize/npm-debug.log
npm ERR! code 1
anibal@LENOVO:/eclipse-workspace/prueba12/WebContent/sequelize$ npm bugs libpq
anibal@LENOVO:
/eclipse-workspace/prueba12/WebContent/sequelize$ npm -v
3.10.10
anibal@LENOVO:/eclipse-workspace/prueba12/WebContent/sequelize$ node -v
v6.11.3
anibal@LENOVO:
/eclipse-workspace/prueba12/WebContent/sequelize$

@ben-turner
Copy link

I'm also seeing this issue. In english: find: ‘/usr/pg*’: No such file or directory

@garcianavalon
Copy link

garcianavalon commented Sep 16, 2020

same here, CI jobs started failing suddenly one day because of this issue. The fix was to install the following (Ubuntu):
apt-get install -y --fix-missing postgresql postgresql-client libpq-dev

@jinalex
Copy link

jinalex commented Apr 12, 2023

how might we get around this if we're deploying to vercel? I couldn't easily apt-get install on vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants