-
Notifications
You must be signed in to change notification settings - Fork 940
Closed as duplicate of#9229
Copy link
Labels
bugSomething that isn't workingSomething that isn't working
Description
What versions & operating system are you using?
Wrangler 4.18.0, Node.js v22.15.0, Debian
Please provide a link to a minimal reproduction
https://github.com/774u64/workers-sdk-bug-report
Describe the Bug
When using this workaround to avoid wrangler types
generating empty Fetcher types1, wrangler dev
incorrectly interprets default
as a named entrypoint and aborts with No such named entrypoint
runtime error.
wrangler dev -c worker-a/wrangler.jsonc -c worker-b/wrangler.jsonc
worker-a has access to the following bindings:
Binding Resource
env.MY_SERVICE (worker-b#default) Worker
❓ Your types might be out of date. Re-run `wrangler types` to ensure your types are correct.
❓ Your types might be out of date. Re-run `wrangler types` to ensure your types are correct.
⎔ Starting local server...
[wrangler:info] Ready on http://localhost:8787
✘ [ERROR] Worker "core:user:worker-a"'s binding "MY_SERVICE" refers to service "core:user:worker-b" with a named entrypoint "default", but "core:user:worker-b" has no such named entrypoint.
✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
Please provide any relevant error logs
Generated worker-configuration.d.ts
and logs from wrangler dev -c worker-a/wrangler.jsonc -c worker-b/wrangler.jsonc
:
Footnotes
Metadata
Metadata
Assignees
Labels
bugSomething that isn't workingSomething that isn't working
Type
Projects
Status
Done