Is there a knack to getting service bindings working locally? I have two running locally, both using

Is there a knack to getting service bindings working locally? I have two running locally, both using
npm run dev
and worker A is bound to worker B. Worker B calls Worker A, and when I start Worker B I get:

⛅️ wrangler 3.41.0
-------------------
▲ [WARNING] This worker is bound to live services: AUTH (authentication-worker)


Your worker has access to the following bindings:
- Services:
  - AUTH: authentication-worker
▲ [WARNING] ⎔ Support for service bindings in local mode is experimental and may change.


The warning itself is a little confusing, as it's running locally, so I don't know why it's mentioning live. Either way, when I hit it with a request, I get
Cannot read properties of undefined (reading 'fetch')
  • if I run Worker B in remote mode, it works fine (but presumably hits my live worker), so I'm quite confused. Any ideas?
Was this page helpful?