-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to the Vite Dev Server on http://localhost:5173 #670
Comments
did you run in 'pnpm dev' in the root of the repo or in the extension directory? |
'pnpm dev' should be ran inside the extension directory. It'll start a server that needs to be running during the development of the plugin as the plugin will attempt to connect to this server for hot reloads, etc |
Ah sorry, run |
just to confirm, are you loading the extension on the same machine where you're running |
Also, do you keep |
|
that's very weird. Maybe try |
nope. You're good to go now. Just point the extension at your hoarder deployment and you can use it. |
It works for me in dev mode.
server: {
port: 5173,
strictPort: true,
hmr: {
protocol: "ws",
host: "localhost",
port: 5173,
},
}, You saved my life!! |
Actually thank you for letting me know how to fix it. Sent a fix in 1a2b600. |
Describe the Bug
Google Chrome plugin prompts me
Vite Dev Mode
Cannot connect to the Vite Dev Server on http://localhost:5173/
Double-check that Vite is working and reload the extension.
This page will close when the extension reloads.
ADN
Google Chrome plugin auto reload。。
Steps to Reproduce
pnpm install
in the root of the repocp .env.sample .env
, and update .envpnpm dev
in the root of the repopnpm run db:migrate
in the root of the repodist
to chrome extension #apps/browser-extension/distExpected Behaviour
Normal use
Screenshots or Additional Context
Device Details
No response
Exact Hoarder Version
master
The text was updated successfully, but these errors were encountered: