jquery.min.map Not Found error problem solution

After updating the chorme browser, the original jquery1.8.2 version reported: jquery.min.map 404 (Not Found) information.
At that time, I was very depressed. I checked the information online:
from the jQuery 1.9.0 version, there will be @ sourceMappingURL=jquery.min.map in the original code.
What is a Source map

Simply put, a Source map is an information file that stores location information. That is to say, each position of the converted code corresponds to the position before the conversion.

With it, when something goes wrong, the debugger will display the original code directly instead of the converted code. This undoubtedly brings great convenience to the development.
Cause jquery.min.map 404 Reason After the

update , Chrome has opened the option of Enable source maps by itself, but you have not put the source map, so the file cannot be found.
Solution

Solution 1.

Turn off Developer Tools -> Set Enable source maps

Solution 2.

Download the same version of source maps and jquery.js in the same directory

source maps will be in the same location as jquery

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326816787&siteId=291194637