Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html". #21

Open
knightcube opened this issue Mar 25, 2021 · 0 comments

Comments

@knightcube
Copy link

I just have two lines in my index.js file

import Notion from "./node_modules/notion-api-js"
console.log("Hello Notion")

and I get this error :
Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.

How do I resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant