请求jquery.min.map文件的参考404错误 [英] Reference 404 error for a request for the jquery.min.map file

查看:421
本文介绍了请求jquery.min.map文件的参考404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从现在开始,当浏览器请求jquery.min.map时,我会收到此404错误.

Out of now where I'm getting this 404 error when browser is requesting the jquery.min.map.

有趣的是,我从未将此文件添加到我的解决方案中.

Funny this is that I've never added this file to my solution.

任何人都可以向我解释如何解决此错误吗?

Can anyone explain to me how to get ride of this error?

我不知道该文件在哪里被引用,因为我没有添加对该文件的引用.

I have no idea where this file is being referenced since I did not add a reference to this file.

Request URL:http://localhost:22773/Scripts/jquery.min.map
Request Method:GET
Status Code:404 Not Found
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Host:localhost:22773
Referer:http://localhost:22773/Manager/ControlPanel.aspx
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36
Response Headersview source
Cache-Control:private
Content-Length:4992
Content-Type:text/html; charset=utf-8
Date:Tue, 10 Sep 2013 17:37:40 GMT
Server:Microsoft-IIS/8.0
X-Powered-By:ASP.NET
X-SourceFiles:=?UTF-8?B?YzpcdXNlcnNcYWRtaW5pc3RyYXRvclxkb2N1bWVudHNcdmlzdWFsIHN0dWRpbyAyMDEyXFByb2plY3RzXEFsdW1DbG91ZFxBbHVtQ2xvdWRcU2NyaXB0c1xqcXVlcnkubWluLm1hcA==?=

推荐答案

源地图就像网站图标,在某些情况下将由浏览器加载.

Source maps are like favicons, a thing that will be loaded by browsers in some circumstances.

通常,javascript在生产服务器上会被精简,并且在它们上调试javascript会很困难.

Typically, javascript are minified on production servers and debugging javascript on them is difficult.

源映射是缩小的javascript的原始版本.由开发人员决定是否将其包含在他们的网站中.

Source maps are the original versions of minified javascript. It's up to the developers to include them or not on their websites.

在Chrome中,您必须激活此功能,浏览器才能尝试下载缩小脚本的原始非缩小版本.这样便可以更轻松地调试客户端.

In Chrome, you have to activate this functionality for the browser to attempt to download the original non-minified version of a minified script. It is then easier to debug client-side.

基本上,除了提供源地图,您无法摆脱此错误.

Basically, you can't get rid of this error besides providing source maps.

无论如何,请参见: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/

这篇关于请求jquery.min.map文件的参考404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆