tabrindle / envinfo

Generate a report about your development environment for debugging and issue reporting
MIT License
757 stars 58 forks source link

`envinfo` command hangs on Alpine Linux #266

Open ProchaLu opened 6 days ago

ProchaLu commented 6 days ago

I have a small project deployed on Fly.io, where I need to check my environment using envinfo. The app is running on an Alpine Linux environment, and when I try to execute envinfo, the terminal stops responding and hangs indefinitely. This seems similar to the behavior described in this previously merged issue.

As the attached video demonstrates, I SSH into the Fly.io console and run the envinfo command. After submitting the command, the server hangs, and no further output is produced. The terminal becomes completely unresponsive.

https://github.com/user-attachments/assets/02f8e007-a459-4114-a9aa-67fee1edfb7b

karlhorky commented 6 days ago

I could also confirm this myself with envinfo@7.14.0, some files in my repo https://github.com/karlhorky/flyio-test :

The command I ran on the Fly.io SSH shell (shell accessible through flyctl ssh console) was:

./node_modules/.bin/envinfo

Output:

➜  flyio-test git:(main) flyctl ssh console 
Connecting to fdaa:a:8736:a7b:1ad:19fc:8093:2... complete
1857472c250638:/app# ./node_modules/.bin/envinfo
^C
1857472c250638:/app# ./node_modules/.bin/envinfo
^C
1857472c250638:/app# ./node_modules/.bin/envinfo
^C
1857472c250638:/app# npx envinfo
^C
1857472c250638:/app# 
gengjiawen commented 6 days ago

This looks like a alpine bug, I will try to post a hack for this alpine system bug