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.
How to open console in Chrome?
Right click mouse and chose "Inspect" as the below.
Check Javascript error
You'll see error message by click "Console" --> errors as the below screenshot.
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.
The above error occurs because the page contains a JavaScript module script file, but your host's file system is unable to return the correct MIME type to the file.
Check How to add MIME-Type for extension mjs? for how to fix the error.