You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node/npmconf: os.networkInterfaces() appears to fail with EINVAL #118
Trying to run ungit, have the following error in log output:
root@localhost:~/haiku# ungit
2016-04-11T06:48:11.955Z - info: Listening on port 8448
Browse to http://localhost:8448/#/repository?path=%2Froot%2Fhaiku
Took 750ms to start server.
## Ungit started ##
2016-04-11T06:48:16.207Z - info: GET /images/logo.png
2016-04-11T06:48:16.214Z - info: GET /api/userconfig
2016-04-11T06:48:16.215Z - info: GET /api/latestversion
2016-04-11T06:48:16.247Z - error: Error: EINVAL, invalid argument
at getLocalAddresses (/usr/local/lib/node_modules/ungit/node_modules/npmconf/config-defs.js:332:18)
at Object.<anonymous> (/usr/local/lib/node_modules/ungit/node_modules/npmconf/config-defs.js:281:23)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/ungit/node_modules/npmconf/npmconf.js:4:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.sysinfo.getUngitLatestVersion (/usr/local/lib/node_modules/ungit/source/sysinfo.js:36:27)
And if you look at the glibc source for getifaddrs, from what I can tell the failure is in creating a netlink socket, so same as the first item in #69.
Yes, NETLINK sockets are currently not implemented. We will be tracking\prioritizing which features to light up next by looking at the feedback provided at the wpdev portal. We appreciate your feedback and please make sure to provide it through the wpdev portal as well. Looks like there is already a post tracking this which you can upvote:
On build 14986, my C test case above now gives err = 0, errno = 0 which is encouraging. Would be good to test some higher-level integration use cases like node or julia (if I can remember what used to cause this that led me to getifaddrs, or get my hands on a pre-14981 build to reproduce it again).
Activity
tkelman commentedon Apr 11, 2016
If you follow this into libuv, you can reduce it down to
And if you look at the glibc source for
getifaddrs, from what I can tell the failure is in creating a netlink socket, so same as the first item in #69.sunilmut commentedon Apr 11, 2016
Yes, NETLINK sockets are currently not implemented. We will be tracking\prioritizing which features to light up next by looking at the feedback provided at the wpdev portal. We appreciate your feedback and please make sure to provide it through the wpdev portal as well. Looks like there is already a post tracking this which you can upvote:
https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13383789-enable-network-interface-enumeraration
bitcrazed commentedon Sep 28, 2016
No response for several months. Closing for now. Let us know if this problem persists.
tkelman commentedon Sep 28, 2016
Still fails exactly the same as it did in April #118 (comment) on build 14915. What change do you believe would have fixed this?
bitcrazed commentedon Sep 28, 2016
Thanks for responding. Re-opening & investigating.
jackchammons commentedon Dec 13, 2016
I am no longer seeing this issue in builds 14981+. Jessica Hamilton (@jessicah) or Tony Kelman (@tkelman) can you confirm that this is no longer an issue.
Info on installing insider builds: https://insider.windows.com/
tkelman commentedon Dec 15, 2016
On build 14986, my C test case above now gives
err = 0, errno = 0which is encouraging. Would be good to test some higher-level integration use cases like node or julia (if I can remember what used to cause this that led me togetifaddrs, or get my hands on a pre-14981 build to reproduce it again).