http-server from NPM package manager gives error
- http-server package installed globally from NPM package manager gives error
- server should have started as it works fine on cmd but not on bash
- 14393.10 - windows build number
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install http-server -g
http-server
expected result as on cmd--
Actual Results on bash--
I assume this may be related https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13383789-enable-network-interface-enumeraration
Duplicate of https://github.com/Microsoft/BashOnWindows/issues/468
Im also getting this error. When I run npm install I see
shawn@AGGRESSIVE:/mnt/c/Websites/www.theaggressive.dev/site/web/app/themes/aggressive$ npm install
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
Also the same output when I try to run gulp. I hope this gets fixed ASAP
@TheAggressive -- actually that's not an error; your command ran successfully, and produced the same output as it would on Linux (not the same as it would on Mac).
This has been discussed on other tickets before, so I've posted about it:
http://wsl-forum.qztc.io/viewtopic.php?f=6&t=32&p=42
Feel free to comment/etc there. (You can comment here too if you'd like, of course; but since this has already been discussed, I'm trying to direct all the discussion to the same place so it doesn't get lost.)
Closing since network interface enumeration has been in the Insider builds for some time, and will be in the Creators Update.