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 get this error when trying to deploy my Sveltekit app to Cloudflare Pages.
> Using @sveltejs/adapter-cloudflare
X [ERROR] Could not resolve "module"
.svelte-kit/output/server/chunks/CldImage.js:2:30:
2 │ import { createRequire } from "module";
╵ ~~~~~~~~
Cannot use "module" when deploying to Cloudflare.
Is this a regression?
Not sure, this is my first time using the package.
Steps To Reproduce the error
Create Sveltekit app
Install svelte-cloudinary
Add <CldImage /> component
Deploy to Cloudflare Pages
Your environment
OS: Windows 11
Node version: 20.18
pnpm version: 8.7.1
Browser: Chrome
"@sveltejs/adapter-cloudflare": "^4.7.4",
"@sveltejs/kit": "^2.0.0",
"svelte-cloudinary": "^2.3.0",
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
I get this error when trying to deploy my Sveltekit app to Cloudflare Pages.
Is this a regression?
Not sure, this is my first time using the package.
Steps To Reproduce the error
svelte-cloudinary
<CldImage />
componentYour environment
The text was updated successfully, but these errors were encountered: