Skip to main content

Bug Tracker

Side navigation

#14225 closed bug (notabug)

Opened August 06, 2013 02:13PM UTC

Closed August 06, 2013 02:26PM UTC

Last modified August 11, 2013 05:57PM UTC

Not Found Error in Google Chrome 29.0.1547.41 beta

Reported by: umesh@jumpingjackrabbit.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

Hi, I am getting an error: /jquery-1.10.2.min.map 404 (Not Found). I see this been included in jquery.min.js file but is commented out. However, chrome is ignoring the comment and looking for the source.

Any suggestions/idea?

Thanks!

Umesh

Attachments (0)
Change History (5)

Changed August 06, 2013 02:26PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

Chrome will show that error message if you rename the jquery.min.js file. Do not rename the file if you do not want to get the error. The map, minified file, and unminified file must have consistent names. If you reference the files from the jQuery, Google, or Microsoft CDNs this will be the case.

Changed August 11, 2013 03:35AM UTC by skoblenick comment:2

For those dissatisfied with the answer either because you didn't rename the file or the fallback use a CDN like I was. This error can also be 'fixed' by removing the comment on line 2 of the file. Change the following:

/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license

//@ sourceMappingURL=jquery-1.10.2.min.map

*/

to:

/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license */

Changed August 11, 2013 04:19AM UTC by skoblenick comment:3

Otherwise this requires a patch to jQuery. The syntax for sourceMapping has changed. See the following: http://updates.html5rocks.com/2013/06/sourceMappingURL-and-sourceURL-syntax-changed

Changed August 11, 2013 01:31PM UTC by dmethvin comment:4

Chrome supports either //# or //@ at the moment. Other tools only support //@ and have not changed. See #13983.

Changed August 11, 2013 05:57PM UTC by skoblenick comment:5

A more proper solution to this ticket, which I didn't see last night, downloading the map file on the download page and placing it in your jQuery directory on the web server will resolve the 404.

http://code.jquery.com/jquery-1.10.2.min.map