I use browser synchronization in Bash, it doesn’t open the browser window and says [BS] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false) when I print npm start in Angular.
Of course, there is no way to open a browser in a limited Linux environment (since GUI support is not provided in Bash on Ubuntu on Windows).
If I use Powershell, it works fine.
My environment: VS Code + Bash on Ubuntu on Windows.
But is there a config or workaround?
source share