What am I doing wrong? I try to bind to a durable object namespace locally in pages running `wrang

What am I doing wrong?

I try to bind to a durable object namespace locally in pages running wrangler pages dev ./public --kv storage --do TEST_DO=TestDo. The kv binding works just fine, but the --do throws an exception saying DurableObjectError [ERR_CLASS_NOT_FOUND]: Class "TestDo" for Durable Object "TEST_DO" not found.

Within my pages project, I added the binding to this durable object and of course published it too. When developing locally, I serve the durable object running wrangler dev using the localhost:PORT it returns to me.

Any suggestions what I miss here?
Was this page helpful?