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

Not working in Ubuntu Bash on Windows #8

Closed
laggingreflex opened this issue Aug 11, 2016 · 6 comments · Fixed by #11
Closed

Not working in Ubuntu Bash on Windows #8

laggingreflex opened this issue Aug 11, 2016 · 6 comments · Fixed by #11

Comments

@laggingreflex
Copy link

laggingreflex commented Aug 11, 2016

Using it on Windows Subsystem for Linux gives this error:

> macaddress.one(function (err, mac) {console.log("Mac address for this host: %s", mac);});
Error: EINVAL: invalid argument, uv_interface_addresses
    at Error (native)
    at Object.lib.networkInterfaces (/mnt/c/.../node_modules/macaddress/index.js:31:21)
    at Object.lib.one (/mnt/c/.../node_modules/macaddress/index.js:79:26)
@laggingreflex
Copy link
Author

It seems either Webpack or Babel (or one of their nested dependencies) depend on this as well, so they're failing too...

ERROR in ../~/css-loader!./app/.../handsontable-pro/dist/handsontable.full.css
Module build failed: Error: EINVAL: invalid argument, uv_interface_addresses
    at Error (native)
    at Object.lib.networkInterfaces (/mnt/c/...project/node_modules/macaddress/index.js:31:21)
    at Object.lib.one (/mnt/c/...project/node_modules/macaddress/index.js:79:26)
    at Object.<anonymous> (/mnt/c/...project/node_modules/uniqid/index.js:15:77)
    at Object.require.extensions.(anonymous function) [as .js] (/mnt/c/...project/node_modules/babel-register/lib/node.js:156:7)
    at Object.<anonymous> (/mnt/c/...project/node_modules/postcss-filter-plugins/dist/index.js:9:15)
    at Object.require.extensions.(anonymous function) [as .js] (/mnt/c/...project/node_modules/babel-register/lib/node.js:156:7)
    at Object.<anonymous> (/mnt/c/...project/node_modules/cssnano/dist/index.js:21:30)
    at Object.require.extensions.(anonymous function) [as .js] (/mnt/c/...project/node_modules/babel-register/lib/node.js:156:7)
 @ ../~/style-loader!../~/css-loader!./app/.../handsontable-pro/dist/handsontable.full.css 4:14-106 13:2-17:4 14:20-112

ERROR in ./app/.../styles.css
Module build failed: ModuleBuildError: Module build failed: Error: EINVAL: invalid argument, uv_interface_addresses
    at Object.lib.networkInterfaces (/mnt/c/...project/node_modules/macaddress/index.js:31:21)
    at Object.lib.one (/mnt/c/...project/node_modules/macaddress/index.js:79:26)
    at Object.<anonymous> (/mnt/c/...project/node_modules/uniqid/index.js:15:77)
    at Object.require.extensions.(anonymous function) [as .js] (/mnt/c/...project/node_modules/babel-register/lib/node.js:156:7)
    at Object.<anonymous> (/mnt/c/...project/node_modules/postcss-filter-plugins/dist/index.js:9:15)
    at Object.require.extensions.(anonymous function) [as .js] (/mnt/c/...project/node_modules/babel-register/lib/node.js:156:7)
    at Object.<anonymous> (/mnt/c/...project/node_modules/cssnano/dist/index.js:21:30)
    at Object.require.extensions.(anonymous function) [as .js] (/mnt/c/...project/node_modules/babel-register/lib/node.js:156:7)
    at /mnt/c/...project/node_modules/webpack/lib/NormalModule.js:137:35
    at /mnt/c/...project/node_modules/loader-runner/lib/LoaderRunner.js:328:11

@soluml
Copy link

soluml commented Sep 1, 2016

+1 ran into this as well. Does not work on my ubuntu installation on Windows.

@soluml
Copy link

soluml commented Sep 13, 2016

@laggingreflex this looks to be a Bash on Windows issue -> microsoft/WSL#468

@infeng
Copy link

infeng commented Nov 7, 2016

i have the same proplem

@shengliangli
Copy link

i have the same proplem too

@ryanhugh
Copy link

ryanhugh commented Dec 6, 2016

I have the same problem. Just wanted to add that you can get the mac address inside Bash on Windows with this command.

cat /sys/class/net/eth0/address

http://stackoverflow.com/questions/17950405/im-trying-to-get-the-mac-address-as-a-variable-in-linux-but-it-rarely-works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants