Can't get package working in Bun app #10204
-
SummaryI have my frontend in Sveltekit (node) and my backend (Hono) in Bun. I have a packages/database (Drizzle), but I can't get this package working in by Bun app. I always get Cannot find module '@myrepo/database' from '/path/to/myrepo/apps/api/src/routes/myroute.ts'. I have tried adding it to packages.json as Anyway I can get this working? Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have heard many anecdotes about module resolution issues in Bun monorepos. You may want to open an Issue there for further triaging, since Turborepo isn't involved in module resolution. |
Beta Was this translation helpful? Give feedback.
I have heard many anecdotes about module resolution issues in Bun monorepos. You may want to open an Issue there for further triaging, since Turborepo isn't involved in module resolution.