Error: Cannot find module 'cloudflare:workers'

I am unable to access bindings as its giving me error in my sveltekit app please help as i want to access hyperdrive binding through import { env } from 'cloudflare:workers'; e.HYPERDRIVE.connectionString
2 Replies
Hello, I’m Allie!
cloudflare: imports do not work in SvelteKit yet, unfortunately
Rahul gangotri
Rahul gangotriOP2w ago
oh ok

Did you find this page helpful?