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

zlib dependency breaks the npm install #667

Closed
anttud opened this issue Oct 22, 2024 · 1 comment · Fixed by #669
Closed

zlib dependency breaks the npm install #667

anttud opened this issue Oct 22, 2024 · 1 comment · Fixed by #669
Labels

Comments

@anttud
Copy link

anttud commented Oct 22, 2024

Hope I am not missing something.

Describe the bug
Running npm install zeromq leads to npm error
Same error occures when running npm install zlib
zlib is deprecated and should not be used
I am guessing the error is coming from here?

npm error code 127
npm error path .../node_modules/zlib
npm error command failed
npm error command sh -c node-waf clean || true; node-waf configure build
npm error sh: 1: node-waf: not found

Reproducing
Run npm install zeromq

Tested on

  • OS: [Ubuntu 20.04, POPOS 22.04]
  • ZeroMQ.js version: [6.1.0]

Also tested with docker running alpine container
Tested with and without .npmrc build_from_source=true

@aminya
Copy link
Member

aminya commented Oct 23, 2024

It's weird. The error doesn't happen with pnpm. Anyways, I have forked cmake-ts to resolve the issues. See #669

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

Successfully merging a pull request may close this issue.

2 participants