Cloudflare DevelopersCD
Cloudflare Developers3y ago
1 reply
James

Curious if anyone here uses `unstable

Curious if anyone here uses
unstable_dev
from
wrangler
(v3). I'm running into an issue and I'm not sure whether I'm just doing something wrong, or it's a legitimate bug.

When I try to enable bindings for both D1 and DO, the following error is thrown and it fails to start. However, if one is enabled and the other isn't, I don't encounter the error.
service core:user:worker: Uncaught TypeError: Class extends value undefined is not a constructor or null
  at dev-mode.js:273:44 in maskDurableObjectDefinition
  at dev-mode.js:278:19

Is it supposed to be possible to use both DO and D1 bindings at the same time through
unstable_dev
?
Was this page helpful?