1***@qq.com
1***@qq.com
  • 发布:2022-05-06 10:50
  • 更新:2022-05-06 10:50
  • 阅读:567

h5 运行突然出现text/html"报错

分类:HBuilderX

昨天下午之前一直运行的好好的,运行到h5时报错:
ailed 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.
看别人说新建个文件夹运行就好了,尝试了确实OK。但是关闭运行,在此运行时又会有这样的问题。具体为
比如端口是8080是好的,关闭重新运行端口就会变成8081或8082

2022-05-06 10:50 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复