Hello everyoneת
I have uploaded my project that I did in React.
Upload went well.
And I have this error in the console:
index-5c359db9.js:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”. Strict MIME type checking is enforced for module scripts per HTML spec.
A message of server responded with a MIME type of “text/html” is usually going to be a 404 error page, as the resource can’t be found.
If you’ve used a Static Site for the React (the common way to deploy React on Render] then you’ll need to check the JS file was built and exists in the path it’s being requested from.
If you’ve deployed it through a web server (e.g. Express on a Render Web Service), you’ll need to check the same things, as well as your web server is server the generated static JS files, etc.