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] npm error Exit handler never called! #7656

Closed
2 tasks done
IceTDrinker opened this issue Jul 17, 2024 · 8 comments
Closed
2 tasks done

[BUG] npm error Exit handler never called! #7656

IceTDrinker opened this issue Jul 17, 2024 · 8 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@IceTDrinker
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

crash without clear error log in CI stdout

source ~/.nvm/nvm.sh && \
nvm use node && \
make -C tfhe/web_wasm_parallel_tests bench-ci
Now using node v22.5.0 (npm v10.8.2)
make[1]: Entering directory '/root/actions-runner/_work/tfhe-rs/tfhe-rs/tfhe/web_wasm_parallel_tests'
npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm error Exit handler never called!
npm error This is an error with npm itself. Please report this error at:
npm error   <https://github.com/npm/cli/issues>
npm error A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2024-07-17T16_27_29_374Z-debug-0.log
npm run build
> tfhe-wasm-par@1.0.0 build
> cp -r ../../tfhe/pkg ./ && webpack build ./index.js --mode production -o dist --output-filename index.js && cp index.html dist/ && cp favicon.ico dist/
sh: 1: webpack: not found
make[1]: *** [Makefile:8: run_server] Error 127
make[1]: Leaving directory '/root/actions-runner/_work/tfhe-rs/tfhe-rs/tfhe/web_wasm_parallel_tests'
make: *** [Makefile:991: bench_web_js_api_parallel_ci] Error 2

Expected Behavior

no crash

Steps To Reproduce

  1. Ubuntu 22.04 git clone git@github.com:zama-ai/tfhe-rs.git
  2. make install_node
    make bench_web_js_api_parallel_ci

see error

Environment

  • npm: npm v10.8.2
  • Node.js: node v22.5.0
  • OS Name: Ubuntu 22.04
  • npm config: default
@IceTDrinker IceTDrinker added Bug thing that needs fixing Needs Triage needs review for next steps labels Jul 17, 2024
@ljharb
Copy link
Contributor

ljharb commented Jul 17, 2024

Seems like a duplicate of #7657.

@IceTDrinker
Copy link
Author

Seems like a duplicate of #7657.

Technically given sequence number it’s 7657 that duplicates this one I guess

@IceTDrinker
Copy link
Author

Though 7657 looks like a better report, npm is a side tool for us, so they will likely have better info than us on this issue

@nfriedly
Copy link

Possibly related: nodejs/node#53902

@wraithgar
Copy link
Member

#7657

@dylviz
Copy link

dylviz commented Jul 18, 2024

Same issue. Seems to have started yesterday for me. Updating versions and updating multiple things and trying anything. Nothing has worked so far.

@Radiergummi
Copy link

Our build started randomly failing with this error, since the install somehow aborts prematurely and the node_modules/.bin folder is suddenly missing. What is happening here?

@IceTDrinker
Copy link
Author

@Radiergummi #7657 is used as the issue of record as it's more detailed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

6 participants