spinframework / spinframework/spin-js-sdk
Hono starter application silently failing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 85
- Forks
- 20
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 8
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the starter TypeScript template and reproduce the issue using npm install hono, the documented quickstart, spin build, and curl localhost:3001 -v. Compare the silent failure with issue #330 and inspect the component logs. Done means the starter application handles the request successfully or reports the underlying error instead of returning an unexplained 500.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100