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

npm install failes #92

Open
LSURENDRAN opened this issue Feb 17, 2023 · 4 comments
Open

npm install failes #92

LSURENDRAN opened this issue Feb 17, 2023 · 4 comments

Comments

@LSURENDRAN
Copy link

When I try to install npm i, I am getting below error. Am I missing anything here?

npm ERR! code 1
npm ERR! path /Users/lakshmi/bloomtech/auth/node_modules/libpq
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | arm64
npm ERR! gyp http GET https://nodejs.org/download/release/v19.4.0/node-v19.4.0-headers.tar.gz
npm ERR! gyp WARN install got an error, rolling back install
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: ENOENT: no such file or directory, open '/path/to/DigiCertHighAssuranceEVRootCA.crt'
npm ERR! gyp ERR! stack at Object.openSync (node:fs:584:3)
npm ERR! gyp ERR! stack at Object.readFileSync (node:fs:452:35)
npm ERR! gyp ERR! stack at readCAFile (/Users/lakshmi/bloomtech/auth/node_modules/node-gyp/lib/install.js:472:15)
npm ERR! gyp ERR! stack at download (/Users/lakshmi/bloomtech/auth/node_modules/node-gyp/lib/install.js:444:22)
npm ERR! gyp ERR! stack at /Users/lakshmi/bloomtech/auth/node_modules/node-gyp/lib/install.js:189:19
npm ERR! gyp ERR! stack at /Users/lakshmi/bloomtech/auth/node_modules/node-gyp/node_modules/mkdirp/index.js:51:26
npm ERR! gyp ERR! stack at FSReqCallback.oncomplete (node:fs:191:5)
npm ERR! gyp ERR! System Darwin 22.2.0
npm ERR! gyp ERR! command "/Users/lakshmi/.nvm/versions/node/v19.4.0/bin/node" "/Users/lakshmi/bloomtech/auth/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /Users/lakshmi/bloomtech/auth/node_modules/libpq
npm ERR! gyp ERR! node -v v19.4.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/lakshmi/.npm/_logs/2023-02-17T19_04_55_960Z-debug-0.log

Thanks,
Lakshmi

@yuriitaran
Copy link

I ran into the same issue installing libpq and managed to solve it by running apt-get install libpq-dev g++ make
More info is here.

@nrathi
Copy link

nrathi commented Mar 22, 2024

@LSURENDRAN were you able to fix this?

@brianc
Copy link
Owner

brianc commented Mar 22, 2024

#85 (comment)

more info here, too

@johnnyasantoss
Copy link

Related to #98

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

5 participants