Skip to content

[REG 1.13.19 -> 1.13.20] postinstall fails in alpine #11126

@orgads

Description

@orgads

Describe the bug

docker run --rm -w /app node:22.20.0-alpine3.22 sh -c 'npm init -y >/dev/null && npm i @swc/[email protected]'

added 4 packages, and audited 5 packages in 12s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
docker run --rm -w /app node:22.20.0-alpine3.22 sh -c 'npm init -y >/dev/null && npm i @swc/[email protected]'
npm error path /app/node_modules/@swc/core
npm error command failed
npm error signal SIGSEGV
npm error command sh -c node postinstall.js
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-09-28T12_31_55_601Z-debug-0.log

Expected behavior

It should work

Actual behavior

It crashes.

Version

1.13.20

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions