You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am deleting some durable objects and adding new ones. I have updated the bindings, but it still won't let me use the delete. Here is the output from the console:
% wrangler deploy --env test
⛅️ wrangler 3.109.2
--------------------
Total Upload: 458.51 KiB / gzip: 101.60 KiB
Your worker has access to the following bindings:
- Durable Objects:
- RecordsEntity: RecordsEntity
- Versioning: Versioning
- Webhook: Webhook
- ProjectImporter: ProjectImporter
- D1 Databases:
- db: xxxxxx-test (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
- R2 Buckets:
- storage: xxxxxx-test
- Vars:
- ENVIRONMENT: "test"
✘ [ERROR] A request to the Cloudflare API (/accounts/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/workers/scripts/xxxxxx-test) failed.
Cannot apply --delete-class migration to class 'getClosestDurableObjectColo' without also removing
the binding that references it. [code: 10061]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
Workaround was to delete them from the website/dashboard and then run the deploy after that to get the new classes added. Fortunately, I'm just working with test right now, but when getting to live, it would be nice to have it happen all at once.
Which Cloudflare product(s) does this pertain to?
Workers Runtime
What versions are you using?
3.109.2 [Wrangler], 18.20.2 [Node]
What operating system and version are you using?
Mac
Please provide a link to a minimal reproduction
No response
Describe the Bug
I am deleting some durable objects and adding new ones. I have updated the bindings, but it still won't let me use the delete. Here is the output from the console:
And here is my wrangler.toml
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: