Amodeus R.
Amodeus R.
Explore posts from servers
HHono
Created by Amodeus R. on 2/1/2025 in #help
How to add credentials to a Hono client?
I see hono documentarion unfortunately lacks a lot of information on how to use it appropriately, and It's no different with this piece of information, so I'd like to know how to or if it's even possible to make authentication via cookies. Can anyone help me?
29 replies
HHono
Created by Amodeus R. on 1/8/2025 in #help
Error cannot file module "@hono/bun" (TS2307)
I'm trying to statically serve some files, in the docs it says to use serveStatic from @hono/bun, but I receive the error modules and its types not found. I've tried multiple solutions but none work: - Tried installing the packaged to ensure @hono/bun was installed using bun add @hono/bun (but it doesnt even exist) - Checked TypeScript types if type declarations existed. Tried adding declare module "@hono/bun"; to global.d.ts to bypass missing types but server doesn't run. - Confirmed Bun version which I'm with the latest version. - Reinstalled dependencies deleting node_modules and bun.lockb, then reinstalling dependencies with bun install, but the error persists. How to solve this?
7 replies