Skip to main content
wiring/express-client
check: wiring/express-client · error_code: E-WIRE-002 · doctor exits: 1

What you’re seeing

The Express server can be wired correctly and this check still fails. Doctor grades the client and server halves separately, so a green server does not excuse a missing client.

Why

Doctor scanned the repo’s source for a <VendoProvider element and found none. The client half of the wiring, the part that actually talks to your /api/vendo route, was never pasted in.

The fix

Wrap your client entry point in <VendoProvider>, pointed at the mount path you gave Express.
client/main.tsx
baseUrl must match the path you mounted the Express handler on. Re-run npx vendo doctor once the provider wraps the app.
  • E-WIRE-001: the server half of the same Express wiring
  • E-WIRE-006: the provider is mounted but nothing visible sits inside it
  • E-WIRE-008: the same missing-provider check on an unrecognized framework