Refused to execute script from 'https://site_name.com/admin/runtime~main.0a0ebea2.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled

System Information
  • Strapi Version: 4.13.2
  • Operating System: Mac OS
  • Database: MySql
  • Node Version: v18.16.0
  • NPM Version: 9.5.1
  • Yarn Version:

When updating the Strapi version to 4.10.5, I encountered errors in the page console, and the page doesn’t open. Prior to the update, everything was working fine. I have attached a screenshot for reference. Please review it and assist in resolving this issue.


1 Like

I was having the same issue you were having. For me it was a settings problem; I was having a trailing slash in my URL key in my .env file.

it should read
URL=https://your-url.com

instead of
URL=https://your-url.com/

Although your post here is kinda old, maybe this can help others.