Open
Description
I'm trying to use the Hono framework: https://hono.dev/docs/
From the starter TypeScript template, I ran npm install hono
, then added the quickstart from the docs:
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hono!'))
export default app
spin build
is successful, but running results in a silent failure:
curl localhost:3001 -v
* Host localhost:3001 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
* Trying [::1]:3001...
* connect to ::1 port 3001 from ::1 port 54069 failed: Connection refused
* Trying 127.0.0.1:3001...
* Connected to localhost (127.0.0.1) port 3001
> GET / HTTP/1.1
> Host: localhost:3001
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 500 Internal Server Error
< transfer-encoding: chunked
< date: Sat, 08 Feb 2025 01:40:15 GMT
<
* Connection #0 to host localhost left intact
ref #330 for the silent error, as nothing is logged in the component logs.