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'm trying to use Flydrive with SvelteKit using the any of the Cloudflare adapters but none of them work. The same imports work with Hono, so I'm guessing there's something going on here.
My goal is to use local filesystem while developing, then in production use S3 so that it works with Cloudflare Pages.
> Using @sveltejs/adapter-cloudflare
✘ [ERROR] Could not resolve "node:url"
node_modules/@poppinss/utils/build/index.js:21:48:
21 │ import { fileURLToPath as fileURLToPath3 } from "node:url";
╵ ~~~~~~~~~~
Cannot use "node:url" when deploying to Cloudflare.
✘ [ERROR] Could not resolve "node:fs/promises"
node_modules/@poppinss/utils/build/index.js:122:30:
122 │ import { readdir, stat } from "node:fs/promises";
╵ ~~~~~~~~~~~~~~~~~~
Cannot use "node:fs/promises" when deploying to Cloudflare.
✘ [ERROR] Could not resolve "fs"
node_modules/etag/index.js:22:20:
22 │ var Stats = require('fs').Stats
╵ ~~~~
Cannot use "fs" when deploying to Cloudflare.
Describe the bug
I'm trying to use Flydrive with SvelteKit using the any of the Cloudflare adapters but none of them work. The same imports work with Hono, so I'm guessing there's something going on here.
My goal is to use local filesystem while developing, then in production use S3 so that it works with Cloudflare Pages.
Reproduction
https://github.com/svelterust/flydrive-pages
Logs
The text was updated successfully, but these errors were encountered: