question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] envinfo hang on node:alpine

See original GitHub issue
docker run -it node:alpine /bin/sh
npm i -g envinfo && envinfo

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SimenBcommented, Jan 10, 2019

Interestingly, it does output if you hit ^C

$ docker run -it node:alpine npx envinfo
npx: installed 1 in 1.353s
^C
  System:
    OS: Linux 4.9 Alpine Linux undefined
    CPU: (6) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 316.87 MB / 1.95 GB
    Container: Yes
    Shell: Unknown - /bin/ash
  Binaries:
    Node: 11.6.0 - /usr/local/bin/node
    Yarn: 1.12.3 - /usr/local/bin/yarn
    npm: 6.5.0-next.0 - /usr/local/bin/npm

It does hang up until hitting ^C, though. And running it from /bin/sh within the image doesn’t output even after ^C. I have no idea why…

0reactions
ryhincheycommented, Feb 26, 2020

this issue can be closed given https://github.com/tabrindle/envinfo/pull/147 got merged

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash when running with docker (node:alpine image) #173
Tried to run photon with Docker, (base image node:alpine) ... The bug happen because prisma2 needs glibc to run migration-engine , however ...
Read more >
Docker Node Alpine Image Build Fails on node-gyp
I'm using the node:10.15-alpine Docker image as a base. The image build fails with the following error: gyp ERR! configure error gyp ERR!...
Read more >
envinfo - npm
envinfo generates a report of the common details needed when troubleshooting software issues, such as your operating system, binary versions ...
Read more >
Top 4 Tactics To Keep Node.js Rockin' in Docker
There's a ton of info out there on using Node.js with Docker, ... causes me hold off on recommending node:alpine for most use...
Read more >
Vulnerability report for Docker node:14.4.0-alpine - Snyk
A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found