[Solved-5 Solutions] jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)
Error Description:
- We see error messages about a file,
min.map,
being not found:
GET jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)
Solution 1:
- Download the map file link for your version, and we will want the uncompressed file downloaded as well.
- Having the map file in place allows you do debug your minified jQuery via the original sources.
Solution 2:
- We can alternatively disable JavaScript source maps completely for now, in the settings. This is a fine choice if we never plan on debugging JavaScript on this page.
Solution 3:
- We can remove the 404 by removing the line
- The top part of the jQuery file will look like this.
- Just change that to
Solution 4:
- This could also be caused by our web server restricting which file types are served:
- In Apache this could be done with the <FilesMatch> directive or a RewriteRule if we’re using mod_rewrite.
- In IIS you'd need to look to the Web.config file
Solution 5:
- Rename
- To