Chrome. min. js. map 404 in chrome debugging

Source: Internet
Author: User

Chrome. min. js. map 404 in chrome debugging
When the front-end is debugging in Chrmo F12 mode, js. map Files cannot be found, for example:

Http: // domain/AngularJS/v1.3.11/angular. min. js. map 404 (Not Found)

In fact, this issue is not much more complex. Generally, it will only appear in chrome when you reference the compressed min. js file.

The page execution result is not affected. The principle is as follows:

After the map file is compressed by a js file, the file's variable name replaces the corresponding, the location of the variable and other meta-information data files. Generally, such files and the main file min. js are placed in the same directory.

Developers can use the code before compression for debugging, so that this problem will not occur, but often want to use the min file, and it is very uncomfortable for patients with obsessive-compulsive disorder, it's easy to get this small x.
Open chrome's F12 interface, and click "Settings" to remove the Enable JavaScript source maps in Sources.

EG:
Link: http://www.72xit.com/1602.jsp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.