johnpapa / lite-server

Lightweight node server
MIT License
2.31k stars 267 forks source link

unable to start lite-server on wsl2 #190

Closed yonatancoh closed 3 years ago

yonatancoh commented 3 years ago

A descriptive title

when trying to start lite-server for a backend nodejs ts project, the following message is outputted:

[Browsersync] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

Environment

yonatancoh commented 3 years ago

It is a known open issue, that is already being discussed in browser-sync page itself.

In the meantime, there is a workaround mentioned here:

https://github.com/BrowserSync/browser-sync/issues/1449#issuecomment-628034291