Replies: 1 comment
-
Googling a bit more I found that it might be a bun issue. The code from the hono template is: import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hello Hono!'))
export default app So the response from the server should not be 'application/octet-stream' at all. I found these issues from the bun repo that seem related |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Device info + package versions
Steps to reproduce
I get this error in my terminal after doing the following
npm create hono@latest my-app
cd my-app
bun install
bun dev
(=bun run --hot src/index.ts
in package.json); this runs on port 3000http://localhost:3000
404 GET / as application/octet-stream
) in terminalWhen I run
bun run src/index.ts
the server seems to run ): but no hmrIs this a bun issue or a hono issue?Edit:
I also tested this on ubuntu 22.04 proper (not WSL) and had the same problem
Beta Was this translation helpful? Give feedback.
All reactions