Home > Article > Web Front-end > jquery.min.map 404 (Not Found) error causes and solutions
After the Chrome update, jquery.min.map 404 (Not Found) message appeared
What exactly is this? After checking, I got the following information
JQuery official explanation
Excerpt the content
From jQuery 1.9.0 version, there will be @ sourceMappingURL=jquery.min.map in the original code
What is Source map
Simple Say, Source map is an information file that stores location information. In other words, each position of the converted code corresponds to the position before conversion.
With it, when an error occurs, the debugging tool will directly display the original code instead of the converted code. This undoubtedly brings great convenience to development.
The reason why jquery.min.map 404
After the update, Chrome automatically turned on the option of Enable source maps but you did not put the Source map, so the file could not be found.
Solution
Solution 1.
Turn Developer Tools ->Set Enable source maps off
Solution 2.
Download the same version of source maps in the same directory as jquery.js
source maps will be the same as jquery Same location
Jquery location http://code.jquery.com/jquery-1.10.2.min.js
source maps location http://code.jquery.com/jquery-1.10.2.min.map