-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
uv_os_get_passwd returned ENOENT in docker #2699
Comments
@alexesDev how did you solve this issue? |
I got the same issue as well. Though only when running the container in github actions with a volume. |
Possibly related to this: nodejs/node#25714 |
Had the same thing with openshift. The problem was that my user present in
In my case this is a openshift topic that drives me nuts on a regular basis. I had to build a custom node image that adds Hope it helps someone. |
I build my application in docker, pass current uid via
-u
and get an error becouse/etc/passwd
don't have any info aboutuid
. This error can be repeated like this.I can mount
/etc/passwd
from host, but this is baddocker run --rm -it -u 200 \ -v /etc/passwd:/etc/passwd \ node:10.13-alpine \ sh -c 'echo "require(\"os\").userInfo()" | node'
If use
process.geteuid()
instead ofos.userInfo().username
, then there will be no problem.relay/packages/relay-compiler/util/RelayCompilerCache.js
Line 43 in d7c66ca
The text was updated successfully, but these errors were encountered: