General questions

error when load iink script from node modules

 the massage in devtools give me massege like this /node_modules/iink-js/dist/iink.min.js net::ERR_ABORTED 404


node_modules/iink-js/dist/iink.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

Hi Teguh 


Could you confirm that you solved your issue?


Best regards,


Gwenaëlle

No i have not solved yet

Thank you for your update.

According to your error messages, it seems that :

  • either the path to node_modules/iink-js/dist/iink.min.js is not correct
  • or your server configuration is not correct: your server should set the content-type of JS files as application/javascript;charset=utf-8


You might refer to following post https://stackoverflow.com/questions/40728554/resource-blocked-due-to-mime-type-mismatch-x-content-type-options-nosniff to further investigate on the origin of your issue.


Best regards,


Gwenaëlle

Login or Signup to post a comment