Troubleshooting Hono with Cloudflare Durable Objects Implementation Error

I'm currently working on integrating Hono with Cloudflare Durable Objects following this (url: https://github.com/honojs/examples/tree/main/durable-objects/src) example: Hono Example. However, I've run into a snag and need some help troubleshooting.

My implementation, which is essentially a replica of the original example, can be found here: My Hono Implementation (url: https://github.com/bkyerv/hono-cloudfalre-do/tree/main/src ).

I'm encountering the following error:

Error: 
service core:user:worker-lawyer: Uncaught TypeError: Class extends value undefined is not a constructor or null
  at index.js:1677:44 in maskDurableObjectDefinition
  at index.js:1686:16
✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
GitHub
Contribute to bkyerv/hono-cloudfalre-do development by creating an account on GitHub.
Was this page helpful?