Skip to content

Instantly share code, notes, and snippets.

@abhilash0001
Created July 4, 2014 04:33
Show Gist options
  • Save abhilash0001/670b9d1836b72e82fbcb to your computer and use it in GitHub Desktop.
Save abhilash0001/670b9d1836b72e82fbcb to your computer and use it in GitHub Desktop.
404: Unable to load angular.min.js.map or angular-animate.min.js.map resource
source map files basically turn minified code into its unminified version for debugging.
You can find the .map files here (https://code.angularjs.org/1.2.12/). Just add them into the same directory as the minified js files and it'll stop complaining. The reason they get fetched is the
/*
//@ sourceMappingURL=angular.min.js.map
*/
at the end of angular.min.js. If you don't want to add the .map files you can remove those lines and it'll stop the fetch attempt, but if you plan on debugging it's always good to keep the source maps linked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment