Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

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

Closed
mediafish opened this issue Sep 11, 2020 · 3 comments

Comments

@mediafish
Copy link

Tried to install the App on my server and the page does not load. We get the error:
Failed to load module script: The server responded with a non-JavaScript MIME type of "text/x-js". Strict MIME type checking is enforced for module scripts per HTML spec.

Any idea how to solve that?

@github-actions
Copy link

Thank you for opening this issue. Please note that, as we are currently working on solutions to help face the current crisis, we do not have the capacity to respond to any issues.

@radibit
Copy link
Contributor

radibit commented Sep 14, 2020

Hey @mediafish 👋

I believe the problem you've experienced is due to a missing or wrong MIME type configured on the server where you're trying to install the app.

Could you please look for any text/x-js or text/javascript js MIME types in your server configuration and replace them with application/javascript.

In addition, there are several other comments in the following thread that can also help you to investigate further the issue.

@radibit
Copy link
Contributor

radibit commented Mar 8, 2021

I'm closing this issue due to lack of further updates.

@radibit radibit closed this as completed Mar 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants