Sometimes, if the page contains .mjs files, you will find that nothing is displayed on the page. If you check further, you will see the following message in your browser console.
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.
Let's see how to handle a blank html page and get an error message.
Read more...