1

The issue is that when the bundles are minified and I look at the Network tab in Chrome I see a 404 for only this url :

http://localhost:57000/bundles/underscore-min.map

No such directory exists.

If I remove the reference to underscore.js in the bundle then the 404 is for only this url : http://localhost:57000/bundles/angular-sanitize.min.js.map

This doesn't happen in IE. I've moved the order around and there is always one file, and only one, that will generate the 404.

Here's my bundles that generate the issue.

 bundles.Add(new ScriptBundle("~/bundles/scripts")
                            .Include("~/Scripts/angular/angular.js")
                            .Include("~/Scripts/angular/angular-resource.js")
                            .Include("~/Scripts/angular/angular-route.js")
                            .Include("~/Scripts/angular/angular-animate.js")
                            .Include("~/Scripts/angular/angular-touch.js")
                            .Include("~/Scripts/angular/angular-sanitize.js")
                            .Include("~/Scripts/ng-infinite-scroll.js")
                            .Include("~/Scripts/underscore.js")
                            .Include("~/Scripts/bootstrap.js")
                            .Include("~/Scripts/md5.js")
                            .IncludeDirectory("~/Scripts/app/", "*.js", true));

anyone seen this before?

Honorable Chow
  • 3,097
  • 3
  • 22
  • 22
  • You should include the headers that are sent on the request for both browsers. It is rare for HTTP requests to be treated differently based on browsers. – Erik Philips Dec 01 '14 at 23:37
  • 1
    possible duplicate of [jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)](http://stackoverflow.com/questions/18365315/jquerys-jquery-1-10-2-min-map-is-triggering-a-404-not-found) – MikeSmithDev Dec 02 '14 at 15:25
  • Thanks @MikeSmithDev, that was the issue. – Honorable Chow Dec 02 '14 at 15:29

0 Answers0