cloudflare / cloudflare/workerd
🐛 BUG:Wrangler throws `Error: The script will never generate a response.`
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
### Which Cloudflare product(s) does this pertain to?
Wrangler
### What versions are you using?
4.5.0
### What operating system and version are you using?
Mac 15.2 (24C101)
### Please provide a link to a minimal reproduction
https://github.com/ckvv/server-hono
### Describe the Bug
Every other request to `http://localhost:8787` throws an exception,
```
Error: The script will never generate a response.
at async Object.fetch (file:///Users/chenkai/github/ckvv/template/server-hono/node_modules/.pnpm/miniflare@4.20250321.0/node_modules/miniflare/dist/src/workers/core/entry.worker.js:1002:22)
```
Steps to reproduce
+ `pnpm install`
+ Add environment variable file to the root directory `.dev.vars`
```
DATABASE_URL=postgresql://username:password@host:port/test
```
+ `pnpm run dev`
### Please provide any relevant error logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.