Getting odd MIME type check error #68257
-
SummaryMy site was running fine then I updated a page (client requested wording nothing else) and now I am getting this error message along with a site loading with zero styling:
I cleared it the first time by running another build after clearing the cache on the Netlify end. Then a few days later the same error cropped up again (a site with no css and the MIME error message). Seems like #64350 is having similar issues but only in Lighthouse. Was there a change in NextJS that is making my site's css no longer discoverable in the directory assets? Additional information`Refused` to execute script from 'myURL/_next/static/dU0z1bvnjWYdHW3cbAer8/_ssgManifest.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.` ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
I remember someone who had a script, or plugin, which accidentally, transformed CSS files into JavaScript, and IIRC, it would've also done that to |
Beta Was this translation helpful? Give feedback.
-
I'm having this same exact issue on a new site. Everything works fine in dev mode, and the site was working fine all week in prod until I updated a small CSS file yesterday. Now, I get 404 & MIME type error. Have you found a solution yet? |
Beta Was this translation helpful? Give feedback.
Found this thread elsewhere, https://answers.netlify.com/t/intermittent-404-errors-and-inconsistent-page-loads-on-next-js-app-hosted-on-netlify/96997/12 any change it is somewhat related?