vscode-vite icon indicating copy to clipboard operation
vscode-vite copied to clipboard

Embedded browser doesn't open

Open ashishbinu opened this issue 3 years ago • 5 comments

After clicking the vite button at bottom status bar, I clicked on open with embedded browser and it showed error as shown in image below:

ashishbinu avatar May 21 '21 14:05 ashishbinu

Have you installed Chrome?

antfu avatar May 21 '21 15:05 antfu

@antfu I have chrome installed. image

ashishbinu avatar May 21 '21 18:05 ashishbinu

@antfu I have chrome installed. image

Hi, @ashishbinu I've got the same issue here, but already solved by manually add a chrome path on the extension setting, see attached screenshot below.

image

CreatorB avatar Jun 06 '21 03:06 CreatorB

Yeah , It worked but shouldn't it work without giving the path. Whoever is gonna install it in linux might not have it working when they run it.

ashishbinu avatar Jun 10 '21 13:06 ashishbinu

If you find a way to cover your cases to do the auto-detection, I am more than happy to receive contributions to that.

https://github.com/antfu/vscode-browse-lite/blob/2995249e7332675ff3e719a8b0a9567cfcb7dd39/src/BrowserClient.ts#L69-L82

antfu avatar Jun 10 '21 13:06 antfu