Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html".
knightcube opened this issue · comments
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?