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 computername not set on Mac OS #15

Open
Holocene opened this issue Mar 23, 2016 · 0 comments
Open

Unhandled error when computername not set on Mac OS #15

Holocene opened this issue Mar 23, 2016 · 0 comments

Comments

@Holocene
Copy link

Hi,

It seems that when the ComputerName is not set in Mac OS, the library fails in an unexpected way because scutil does not return a result. Please see this stackoverflow question:

http://stackoverflow.com/questions/36155236/nodejs-error-typeerror-cannot-read-property-stdout-of-undefined

Perhaps the code should throw if a err has a value?

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

1 participant