dotnet core on bash on ubuntu on windows 10 - Attempt #2

Update: if you hit an error when you run yo from bash on ubuntu on windows 10, it's a known issue, it's on the backlog, and you can vote it up on uservoice.

For context, see Attempt #1 here


Ok, Just pulled a new build, I'm on Windows Insiders Build 14393.

From Widows Command Prompt

systeminfo | grep Version  
OS Version: 10.0.14393 N/A Build 14393  

Let's give it a go again.

micheal@WIN10:~$ sudo npm install -g yo  
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm  
/usr/bin/yo-complete -> /usr/lib/node_modules/yo/lib/completion/index.js
/usr/bin/yo -> /usr/lib/node_modules/yo/lib/cli.js

> yo@1.8.4 postinstall /usr/lib/node_modules/yo
> yodoctor


Yeoman Doctor  
Running sanity checks on your system

✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version

Everything looks all right!  
/usr/lib
└── yo@1.8.4

micheal@WIN10:~$ yo  
/usr/lib/node_modules/yo/node_modules/npmconf/config-defs.js:332
  Object.keys(os.networkInterfaces()).map(function (nic) {
                 ^

Error: EINVAL: invalid argument, uv_interface_addresses  
    at Error (native)
    at getLocalAddresses (/usr/lib/node_modules/yo/node_modules/npmconf/config-defs.js:332:18)
    at Object.<anonymous> (/usr/lib/node_modules/yo/node_modules/npmconf/config-defs.js:281:23)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/lib/node_modules/yo/node_modules/npmconf/npmconf.js:4:18)

Looks like a native issue with the Linux Subsystem in querying the network interface.

I guess I will have to wait for the next update.