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
When you use this in your svelte.config.js import adapter from '@sveltejs/adapter-cloudflare';
And trying to build the app for preview of deployment to Cloudflare, you get this.
> Using @sveltejs/adapter-cloudflare
✘ [ERROR] Could not resolve "node:http"
.svelte-kit/output/server/chunks/KindeSDK.js:8:22:
8 │ import * as http from "node:http";
╵ ~~~~~~~~~~~
Cannot use "node:http" when deploying to Cloudflare.
✘ [ERROR] Could not resolve "node:https"
.svelte-kit/output/server/chunks/KindeSDK.js:9:23:
9 │ import * as https from "node:https";
╵ ~~~~~~~~~~~~
Cannot use "node:https" when deploying to Cloudflare.
```
### Starter kit URL
https://github.com/kinde-starter-kits/sveltekit-starter-kit
### Operating system(s)
macOS
### Operating system version(s)
Sonoma 14.3.1
### Further environment details
_No response_
### Reproducible test case URL
_No response_
### Additional information
_No response_
The text was updated successfully, but these errors were encountered:
Prerequisites
Describe the issue
When you use this in your svelte.config.js
import adapter from '@sveltejs/adapter-cloudflare';
And trying to build the app for preview of deployment to Cloudflare, you get this.
The text was updated successfully, but these errors were encountered: