chrome-ext-mv3-starter icon indicating copy to clipboard operation
chrome-ext-mv3-starter copied to clipboard

Error running server

Open andyjamesn opened this issue 2 years ago • 4 comments

The server is starting fine and says

vite v2.9.5 dev server running at:

Local: http://localhost:3309/ Network: use --host to expose

But when I go to the page I get:

This localhost page can’t be foundNo web page was found for the web address: http://localhost:3309/ HTTP ERROR 404

On Mac - OS Monterey 12.4

Any ideas?

andyjamesn avatar May 22 '22 21:05 andyjamesn

@andyjamesn this is a chrome extension template, so you need to use the extension to debug your app, not the localhost env

xiaoluoboding avatar May 23 '22 06:05 xiaoluoboding

@andyjamesn checkout the usage part

xiaoluoboding avatar May 23 '22 06:05 xiaoluoboding

@xiaoluoboding Thank you but I am a little confused, the usage part does not provide any clearer information.

So I run pnpm build from my terminal and it starts the server

Then when I load the Extension into chrome using "Load unpacked" and choose the "dev" folder.

If I try use the extension it pops up saying "vite server did not start"

https://share.cleanshot.com/q8JNfC

Do I need something else?

andyjamesn avatar May 23 '22 20:05 andyjamesn

Maybe you need change the Chrome version #1

xiaoluoboding avatar May 24 '22 01:05 xiaoluoboding