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 install jest not working on gitlab saas runners as well as self hosted machine runners #7670

Closed
2 tasks done
theabubakkar opened this issue Jul 19, 2024 · 3 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@theabubakkar
Copy link

theabubakkar commented Jul 19, 2024

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

I am using node:latest docker image and having following error.

$ npm install jest
npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm warn deprecated superagent@7.1.6: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See ladjs/superagent#1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net
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: /root/.npm/_logs/2024-07-19T10_16_53_646Z-debug-0.log

Expected Behavior

should install jest successfully

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • npm:
  • Node.js: docker image node:latest
  • OS Name: Linux (Gitlab SAAS Runners)
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here
@theabubakkar theabubakkar added Bug thing that needs fixing Needs Triage needs review for next steps labels Jul 19, 2024
@milaninfy
Copy link
Contributor

Closing Seems similer if not duplicate of #7657.
Try node 22.4.1 with npm 10.8.2.

@milaninfy
Copy link
Contributor

Fixed in Node.js v22.5.1 nodejs/node#53902 (comment)

@theabubakkar
Copy link
Author

thank you

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

2 participants