Ionic fails to load angular.min.js.map


#1

Hi, when im running my Ionic app inside iOS simulator,
and using the Safari Web inspector, i see this error:

file:///Users/Elad/Library/Developer/CoreSimulator/Devices/8140CCA0-F207-4B67-8FA2-D078DB4F2001/data/Containers/Bundle/Application/06C47213-B47B-4E7B-BA13-E3B32CAC2C6A/Skipop.app/www/lib/ionic/js/angular.min.js.map
Failed to load resource: The requested URL was not found on this server.

Anyone knows how to solve it?
Thanks.


#2

Ionic’s bower.json main property does not include this file and it is not included in Ionic’s bundle as well.

So either, you ask Ionic’s team to do it by creating an issue on github project or you could also just ignore it as it is harmless.


#3

I ended up importing ionic.bundle.js instead of ionic.bundle.min.js and the issue was gone


#4

Of course if it is not minified there’s no need for a map.