-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
What versions & operating system are you using?
Wrangler 4.51.0, macOS
Please provide a link to a minimal reproduction
https://github.com/cloudflare/python-workers-examples/tree/main/13-js-api-pygments
Describe the Bug
When running the TS and Py workers separately in separate terminals:
Terminal 1:
$ cd python-workers-examples/13-js-api-pygments/ts
$ npx wrangler dev
Terminal2:
$ cd python-workers-examples/13-js-api-pygments/py
$ npx wrangler dev
Then we get the following error:
[wrangler:error] Error: Network connection lost.
at async Object.fetch (file:///Users/dominik/repos/python-workers-examples/13-js-api-pygments/ts/src/index.ts:36:18)
at async jsonError (file:///Users/dominik/.npm/_npx/d77349f55c2be1c0/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts:22:10)
at async drainBody (file:///Users/dominik/.npm/_npx/d77349f55c2be1c0/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts:5:10)
[wrangler:info] GET / 500 Internal Server Error (32ms)
But when running via npx wrangler@latest dev -c ts/wrangler.jsonc -c py/wrangler.jsonc it works fine
Please provide any relevant error logs
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog