While working on the Angular-Google-Map API, I encountered an issue when loading Google Maps for the first time - no errors. However, upon clicking on a marker to view location details such as address, etc., and then closing the form, subsequent clicks on markers resulted in the following error.
The error stemmed from automatically attaching ".map" at the end of the requested file names. For instance, angular-cookies.min.js.map. This led to resource not found errors as there were no files with a .map extension available.
What could be the reason for adding the .map extension to every file?
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/static/lib/angularjs/js/angular-cookies.min.js.map
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/static/lib/jquery/js/jquery.min.map
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/static/lib/angularjs/js/angular.min.js.map
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/jquery.min.map