hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
6.02k stars 200 forks source link

Cannot connect to the Vite Dev Server on http://localhost:5173 #670

Open YoFoon opened 3 hours ago

YoFoon commented 3 hours ago

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

Expected Behaviour

Normal use

Screenshots or Additional Context

image

Device Details

No response

Exact Hoarder Version

master

MohamedBassem commented 3 hours ago

did you run in 'pnpm dev' in the root of the repo or in the extension directory?

MohamedBassem commented 3 hours ago

'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