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 doesn't run in 19.3.0-alpine3.17 container #1829

Open
GDBlaster opened this issue Dec 23, 2022 · 3 comments
Open

npm doesn't run in 19.3.0-alpine3.17 container #1829

GDBlaster opened this issue Dec 23, 2022 · 3 comments

Comments

@GDBlaster
Copy link

Environment

  • Platform: linux/arm/v7
  • Docker Version: 20.10.17
  • Node.js Version: 19.3.0
  • Image Tag: 19.3.0-alpine3.17
  • Note: This behavior is specific to the arm version and is not present on the amd64 version

Expected Behavior

npm responding to calls such as (but not limited to as this affects the totallity of npm) :

docker exec NodeAlpineArmv7Container npm -v
    <npm version> 

Current Behavior

currently running any npm command inside this image wil cause npm to take the shell (as expected) and proceed to do nothing until being forcibly closed effectively never crashing or giving back the shell in any way

Possible Solution

this is an error on your end as pulling directly from alpine:3.17 for arm and adding node and npm from apk gives the expected output

Steps to Reproduce

pull the image and run any npm command inside a container running it

Additional Information

@n-thumann
Copy link

Sounds like a duplicate of #1798 to me: I was able to reproduce the same behavior, i.e. running Node v19 in an armv7 Alpine container hangs indefinitely.

@harryzcy
Copy link

harryzcy commented Jan 2, 2023

I'm having the same issue. npm install works on arm64/v8 and amd64, but not on arm/v7

@tyranron
Copy link

tyranron commented Jun 9, 2023

The same for Node v20 images.

ismarslomic added a commit to ismarslomic/skistar-activities-ical that referenced this issue Nov 13, 2023
It is known issue that `npm install` is stuck when building on platforms arm/v6 and arm/v7 of Docker images Node v19 and Node v20. See nodejs/docker-node#1829 and nodejs/docker-node#1798
jaymoulin added a commit to femtopixel/docker-eleventy that referenced this issue May 1, 2024
Also, this needed to rollback node image to 18 due to nodejs/docker-node#1829
This may have implications on #3.

The image still install latest available eleventy from NPM, so each beta
build is just another latest stable. This issue is due to process
between github-release-notifier and eleventy team making a tag on github
on each beta build. This should be handled by github-release-notifier
jaymoulin added a commit to femtopixel/docker-eleventy that referenced this issue May 2, 2024
Also, this needed to rollback node image to 18 due to nodejs/docker-node#1829
This may have implications on #3.

The image still install latest available eleventy from NPM, so each beta
build is just another latest stable. This issue is due to process
between github-release-notifier and eleventy team making a tag on github
on each beta build. This should be handled by github-release-notifier
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

5 participants
@tyranron @harryzcy @n-thumann @GDBlaster and others