Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

failed to load module script: expected a javascript module script but the server responded with a mime type of "text/html". strict mime type checking is enforced for module scripts per html spec.

const varName = require('module name');
 
PREVIOUS NEXT
Tagged: #failed #load #module #expected #javascript #module #script #server #responded #mime #type #strict #mime #type #checking #enforced #module #scripts #html
ADD COMMENT
Topic
Name
4+7 =