-
Notifications
You must be signed in to change notification settings - Fork 272
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
node spins forever? #438
Comments
This appears to be the same issue as nodejs/docker-node#1946. |
For me it seems to work. It seems like a really not-nice random bug in npm.
|
Okay I'm sufficiently confused by lots of things when trying to reliably reproduce this. I was counfounded by https://gitlab.alpinelinux.org/alpine/aports/-/issues/16400; installing It seems I can reproduce this even on 3.18 when using
It also pegs one CPU at 100% while it's happening. I found this to happen on both my M3 Mac and my x64 Windows computer running Docker. The common thread is |
This is a duplicate of nodejs/node#53489. Confirmed by running with strace:
which eventually gets into printing these messages:
|
npm
seems to cause the process to spin forever.This happens with every alpine version from 3.19.0 through edge and may be related to running ARM32 emulation on a 64-bit processor.
docker run --platform=linux/arm -it --rm alpine:3.21.2 ash -c 'apk add nodejs npm && npm --version'
The text was updated successfully, but these errors were encountered: