While running SvelteKit app on CloudFlare Pages, it loads on the first request. When the page is refreshed then it throws an error.
- We are using axios in the load() function on Sveltekit to fetch data.
- The error in Cloudflare logs is
adapter http is not available in build
- It works perfectly on Vercel.
Tried to change ENV loading strategy, Host on other platform.
Using fetch instead of axios solved the error.