! Gaetan Puleo
! Gaetan Puleo
Explore posts from servers
DTDrizzle Team
Created by ! Gaetan Puleo on 10/14/2024 in #help
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './connect' is not defined by "exports"
Hi, i have a strange error. I installed sqlite and drizzle, but cannot make drizzle work. I have this strange error. err: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './connect' is not defined by "exports" in /home/gaetanpuleo/dev/perso/lead-generation-mvp/node_modules/drizzle-orm/package.json imported from /home/gaetanpuleo/dev/perso/lead-generation-mvp/server/dist/chunk-MBWTYO6I.js
2 replies
HHono
Created by ! Gaetan Puleo on 5/26/2024 in #help
Hot reload not working? (BUN)
I try to setup the @hono/vite-dev-server with the default setup vite.config.ts
import { defineConfig } from "vite";
import devServer from "@hono/vite-dev-server";

export default defineConfig({
plugins: [
devServer({
entry: "src/index.tsx", // The file path of your application.
}),
],
});
import { defineConfig } from "vite";
import devServer from "@hono/vite-dev-server";

export default defineConfig({
plugins: [
devServer({
entry: "src/index.tsx", // The file path of your application.
}),
],
});
src/index.tsx
import { Hono } from "hono";

const app = new Hono();

app.get("/", (c) => c.html(<h1>Hello Vite!</h1>));

export default app;
import { Hono } from "hono";

const app = new Hono();

app.get("/", (c) => c.html(<h1>Hello Vite!</h1>));

export default app;
The hot reload is very buggy on my side, it reload one time, and after it never updates the page again. Did I miss something?
7 replies