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

installation error with node.js v21.5.0 #608

Open
3ntranced opened this issue Jan 3, 2024 · 2 comments
Open

installation error with node.js v21.5.0 #608

3ntranced opened this issue Jan 3, 2024 · 2 comments

Comments

@3ntranced
Copy link

I am getting this error when running "npm install"

npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
npm ERR! gyp ERR! System Linux 6.1.0-17-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/btcrpcexplorer/btc-rpc-explorer/node_modules/zeromq
npm ERR! gyp ERR! node -v v21.5.0
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: /home/btcrpcexplorer/.npm/_logs/2024-01-03T21_11_40_087Z-debug-0.log`

@mikeygee
Copy link

mikeygee commented Jan 7, 2024

I had the same issue on MacOS / Node v21. Downgrading to Node v20 resolved it for me. It appears to be an issue with zeromq on Node v21:

zeromq/zeromq.js#591
zeromq/zeromq.js#592

It sounds like it may be fixed in the beta version 6.

@3ntranced
Copy link
Author

thank you setting zeromq dependency to beta 6 release worked for me

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

2 participants