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 9.7.0 and newer fails with "segmentation fault" #288

Closed
styfle opened this issue Jul 19, 2023 · 4 comments
Closed

npm 9.7.0 and newer fails with "segmentation fault" #288

styfle opened this issue Jul 19, 2023 · 4 comments

Comments

@styfle
Copy link
Member

styfle commented Jul 19, 2023

Steps to reproduce

  1. Install Node.js v18.17.0 on macOS (arm) (See official download)
  2. Run corepack prepare npm@9.7.0 --activate
  3. Run npm --version
  4. Notice error [1] 68100 segmentation fault npm --version

It works with npm@9.6.7 but started failing with every version since npm@9.7.0.

@aduh95
Copy link
Contributor

aduh95 commented Jul 19, 2023

This has been fixed by #276 I think, unfortunately Corepack on v18.x branch is a bit behind.

@merceyz
Copy link
Member

merceyz commented Jul 19, 2023

Duplicate of #277

@merceyz merceyz marked this as a duplicate of #277 Jul 19, 2023
@merceyz merceyz closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2023
@styfle
Copy link
Member Author

styfle commented Jul 19, 2023

Thanks! Is there a Node.js PR to update this in 18.x that I can follow along?

@aduh95
Copy link
Contributor

aduh95 commented Jul 19, 2023

Node.js 18.x is an Active LTS line, meaning commits are "automatically" backported to it after a maturation period. It didn’t make it to 18.17.0, it should be on the next non-security one.

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

3 participants