How to solve loading module script?

I get this error:

Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.
polyfills-es2015.js:1 

Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.

main-es2015.js:1 Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.

HTML file with scripts:

<script src="runtime-es2015.js" type="module"></script><script src="runtime-es5.js" nomodule defer></script><script src="polyfills-es5.js" nomodule defer></script><script src="polyfills-es2015.js" type="module"></script><script src="scripts.js" defer></script><script src="main-es2015.js" type="module"></script><script src="main-es5.js" nomodule defer></script></body>

97 thoughts on “How to solve loading module script?”

  1. I don’t even know how I ended up here, but I thought this post was good.
    I don’t know who you are but definitely you are going to a famous blogger if you aren’t already 😉 Cheers!

    Reply
  2. Pingback: keto diet meal
  3. Hello There. I found your blog using msn. This is a really well
    written article. I’ll make sure to bookmark it and come back to read more of your useful information. Thanks for the post.
    I will definitely return.

    Reply
  4. Hi, I do believe this is an excellent site. I stumbledupon it 😉
    I’m going to revisit yet again since I book-marked it.
    Money and freedom is the best way to change,
    may you be rich and continue to guide others.

    Reply
  5. Greetings I am so delighted I found your blog, I really found you by accident, while I was
    looking on Google for something else, Anyhow I am here
    now and would just like to say many thanks for a remarkable post and a all round thrilling blog
    (I also love the theme/design), I don’t have time to browse it all at the moment but I have book-marked it and also added your RSS feeds,
    so when I have time I will be back to read a great deal more, Please do keep up the fantastic work.

    Reply
  6. You actually make it appear really easy with your presentation but I find this topic to be actually one thing which I believe I’d by no means understand. It sort of feels too complex and extremely extensive for me. I’m looking ahead to your subsequent put up, I’ll try to get the hang of it!

    Reply
  7. I loved as much as you’ll receive carried out right here.
    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get bought an impatience over that you wish be delivering the following.
    unwell unquestionably come more formerly again since exactly the same nearly
    very often inside case you shield this increase.
    scoliosis surgery https://0401mm.tumblr.com/ scoliosis surgery

    Reply

Leave a Comment