Tutorial with SQL API · Cloudflare Durab...

I stuck at step 6 in this tutorial, should I ignore it and continue (maybe just some ide problems)? https://developers.cloudflare.com/durable-objects/get-started/tutorial-with-sql-api/#6-configure-durable-object-class-with-sqlite-storage-backend
Cloudflare Docs
Tutorial with SQL API · Cloudflare Durable Objects docs
This guide will instruct you through:
No description
7 Replies
Jun
Jun2w ago
Hey! Is this what's being shown in your wrangler.toml file?
wunn_
wunn_OP2w ago
Yes btw, i'm trying to find a way to bind durable objects into my Remix Cloudflare Pages project but cannot find any docs about it 😐
Jun
Jun2w ago
Re: toml, yeah maybe just carry on? We always make sure to test these tutorials, so it should work (though please let me know if it doesn't) Hmm let me see what I can find https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects https://developers.cloudflare.com/durable-objects/examples/use-kv-from-durable-objects/ I think those two exampels might be useful I don't think we have a specific page dedicated to DO <> Remix CF Pages, but I believe the binding method is consistent
wunn_
wunn_OP2w ago
So, I have to create a separate DO Worker project and put the name of that Worker into the wrangler.toml file in my Remix CF Pages, right? 😅 https://developers.cloudflare.com/pages/functions/bindings/#interact-with-your-durable-object-namespaces-locally I've followed these steps but after call the functions, but, an error occured: Cannot access MyDurableObject#sayHello as Durable Object RPC is not yet supported between multiple wrangler dev sessions.
harshil1712
harshil17122w ago
Hey, you will have to use Service Bindings. You can learn more about it here: https://discord.com/channels/595317990191398933/773219443911819284/1320672135601061961
Jun
Jun2w ago
harshil1712
harshil17122w ago
Thanks Jun for sharing the correct link!

Did you find this page helpful?