Description
[s]I'm getting the error quoted in the post title every time I try to invoke Live Server from VS Code's active window by right clicking.
Although it is supposed to launch Chrome and display the page for the current HTML file, it does not load Chrome nor the page.
The earlier thread with this subject indicated that console errors could be reported. I take that to mean DevTools Console. Because Chrome doesn't launch, there is no console log. If there is some other source for logs, I'll have to be told where to find them.
Just before this happened, I had reinstalled Live Server because it mysteriously disappeared. I left the VS Code window to open a Windows File Explorer window and deleted some files and folders that I had used as part of a MDN tutorial. On returning to VS Code's window, File Server had disappeared; it no longer appeared in the menu after right clicking in the active window. Initially, I couldn't get Live Server to reinstall; so I closed all open files in VS Code, closed the app then restarted it. I was able then to install Live Server but it throws the error, as indicated.[/s]
I resolved the issue by completely removing all VSC extensions, closing VSC, reloading it, the choosing the Live Server extension and re-intalling it. I then added back the 3 or 4 other extensions that I rely on.
I'm leaving the post here in case someone else encounters the problem and will see how it was resolved in my case.