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

Unhandled error when initializing client for unknown user #1

Open
dguettler opened this issue Aug 22, 2017 · 3 comments
Open

Unhandled error when initializing client for unknown user #1

dguettler opened this issue Aug 22, 2017 · 3 comments

Comments

@dguettler
Copy link

Consider Unleash/unleash-client-node#35 and corresponding PR Unleash/unleash-client-node#36

I encountered this when trying to run ember build -prod within an openshift container.

@dguettler
Copy link
Author

Would it be an option to reverse the order here https://github.com/stefanpenner/username-sync/blob/master/index.js#L7 so it would be possible to set ENV to avoid a call to os?

@dguettler
Copy link
Author

Strike this, this doesn't sound terrible performant. Maybe a try ... catch is better

@yongk802
Copy link
Contributor

yongk802 commented Feb 7, 2019

We're also running into this when trying to run this with ember inside a docker container. I made a small change, mostly taken from here:

sindresorhus/username@ad9043f

I'm going to submit a PR so this can be available to others (and to make sure I haven't done something stupid as I'm not a javascript guy), but in the meantime, we will use our own version.

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

2 participants