Thank you for taking the time to open an issue!
For bug reports please include the following section in your issue details.
If you include instructions on how to reproduce the bug or a failing test case
it will make it easier for us to track down the issue you're having.
Output from ember version --verbose && npm --version && yarn --version:
ember-cli: 3.3.0
http_parser: 2.8.0
node: 10.10.0
v8: 6.8.275.30-node.24
uv: 1.23.0
zlib: 1.2.11
ares: 1.14.0
modules: 64
nghttp2: 1.33.0
napi: 3
openssl: 1.1.0i
icu: 62.1
unicode: 11.0
cldr: 33.1
tz: 2018e
os: linux x64
npm 6.4.1
I ran into this issue when running ember serve on Openshift.
a user ID will be assigned by OpenShift regardless what is specified in the
DockerFile. This leads to the command os.userInfo() to fail with the
following error:
Running as user uid=1000120000 gid=0(root) groups=0(root),1000120000
....
....
A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
Doing a whoami will also fail
This actually use to cause a core dump, but was recently fixed to supply the error i'm currenlty getting.
see nodejs/node#22599, nodejs/node#22609 for context
It looks like the underlying module that makes the calls to os.userInfo is in the username-sync module, so i suppose that is where the possible fix would need to happen.
I'm usually using minishift so i can run openshift locally, then deploying my "ember new ember-app" application using a node module called "nodeshift"
high level gist: https://gist.github.com/lholmquist/b3382a33e5bccb55031744b056b00aab
Thank you for taking the time to open an issue!
For bug reports please include the following section in your issue details.
If you include instructions on how to reproduce the bug or a failing test case
it will make it easier for us to track down the issue you're having.
Output from
ember version --verbose && npm --version && yarn --version:I ran into this issue when running
ember serveon Openshift.a user ID will be assigned by OpenShift regardless what is specified in the
DockerFile. This leads to the command os.userInfo() to fail with the
following error:
Doing a
whoamiwill also failThis actually use to cause a core dump, but was recently fixed to supply the error i'm currenlty getting.
see nodejs/node#22599, nodejs/node#22609 for context
It looks like the underlying module that makes the calls to
os.userInfois in the username-sync module, so i suppose that is where the possible fix would need to happen.I'm usually using minishift so i can run openshift locally, then deploying my "ember new ember-app" application using a node module called "nodeshift"
high level gist: https://gist.github.com/lholmquist/b3382a33e5bccb55031744b056b00aab