I recently tried deploying my website. I tried deploying it here, where I got a blank white page with the error “Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/jsx”. Strict MIME type checking is enforced for module scripts per HTML spec”.
It works fine when I build it myself and run a preview. I’m not sure if these affect anything but I also got these errors when running the build: “node_modules/three-stdlib/libs/lottie.js (13062:32) Use of eval in “node_modules/three-stdlib/libs/lottie.js” is strongly discouraged as it poses security risks and may cause issues with minification.” and "(!) Some chunks are larger than 500 kB after minification. Consider:
Using dynamic import() to code-split the application
I’m not sure why the asset had this issue. I also tried to deploy via Github and was met with this error: Failed to load resource: the server responded with a status of 404 () main.jsx:1.