Open ryuapp opened 2 months ago
With DENO_FUTURE=1 deno 1.46.3
after deno install
I get following error with miniflare (Running on SvelteKit):
error: Uncaught (in worker "[worker eval]") (in promise) ReferenceError: require is not defined
at data:text/javascript,const { createRequir......eadableStream" :1:27
Seems like scripts created with data URI string are not properly working. It originates from vite worker code:
@nounder please try again with Deno v2.0.0-rc.6.
@bartlomieju Unfortunately Deno 2.0.0-rc.6
still results in the same error even after rm node_modules && deno clean && deno install
Version: Deno 2.0.0-rc.1+ce1d668 (canary, release, x86_64-pc-windows-msvc)
We can confirm that it does not work after running
deno install
.https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/
There seems to be a problem with compatibility with Wrangler. related: #17248 #17977