我在html中引入js,
<body> <script type="text/javascript" src="../../../libs/analytics-pc.js"></script></body>
出现下面的报错:
GET http://localhost:8080/libs/analytics-pc.js net::ERR_ABORTED 404 (Not Found) localhost/:1 Refused to execute script from 'http://localhost:8080/libs/analytics-pc.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
路径没有错误,出错原因是怎么?
相关分类