SvelteKit build causing MIME type errors on Cloudflare Pages with adapter. 500 Internal Error

Hey yall, not sure what is going on but my I've been trying to build my app for Cloudflare pages (which was working no more than a week ago) and suddenly my page deployments aren't loading. Console reveals the errors shown below. I have SSR turned off but that's about as much configuring as I've done to the build system (besides of course using the Cloudflare adapter for builds). Even weirder is that when I run npm run preview the local serving of the page works no problem. No idea what is causing this or how to fix it. Any ideas?
The resource from “https://[MYPAGE].pages.dev/_app/immutable/assets/0.DHByXPFT.css” was blocked due to MIME type (“”) mismatch (X-Content-Type-Options: nosniff).
[MYPAGE].pages.dev
Uncaught (in promise) Error: Unable to preload CSS for https://[MYPAGE].pages.dev/_app/immutable/assets/0.DHByXPFT.css
a Immutable
app.Blzu09J3.js:2:2608
Loading module from “https://[MYPAGE].pages.dev/_app/immutable/nodes/2.DINvMMQD.js” was blocked because of a disallowed MIME type (“”).
slushing300x.pages.dev
TypeError: error loading dynamically imported module: https://[MYPAGE].pages.dev/_app/immutable/nodes/2.DINvMMQD.js
The resource from “https://[MYPAGE].pages.dev/_app/immutable/assets/0.DHByXPFT.css” was blocked due to MIME type (“”) mismatch (X-Content-Type-Options: nosniff).
[MYPAGE].pages.dev
Uncaught (in promise) Error: Unable to preload CSS for https://[MYPAGE].pages.dev/_app/immutable/assets/0.DHByXPFT.css
a Immutable
app.Blzu09J3.js:2:2608
Loading module from “https://[MYPAGE].pages.dev/_app/immutable/nodes/2.DINvMMQD.js” was blocked because of a disallowed MIME type (“”).
slushing300x.pages.dev
TypeError: error loading dynamically imported module: https://[MYPAGE].pages.dev/_app/immutable/nodes/2.DINvMMQD.js
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server