angular / batarang

AngularJS WebInspector Extension for Chrome
MIT License
2.43k stars 338 forks source link

Failed to instantiate module ngHintModules #314

Closed nstanard closed 6 years ago

nstanard commented 7 years ago

Will update this as I find out more. My app won't load with Batarang 0.10.9 though.

Failed to instantiate module ngHintModules due to:
TypeError: Cannot read property 'name' of undefined
    at module.exports (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:1060:20)
    at chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:1066:7
    at Array.forEach (native)
    at module.exports (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:1064:21)
    at chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:1360:5
    at Object.invoke (http://dev.eds.com:8080/analyst-ng/bin/external/angular.min-1.5.8.js:41:456)
    at d (http://dev.eds.com:8080/analyst-ng/bin/external/angular.min-1.5.8.js:39:418)
    at http://dev.eds.com:8080/analyst-ng/bin/external/angular.min-1.5.8.js:40:19
    at q (http://dev.eds.com:8080/analyst-ng/bin/external/angular.min-1.5.8.js:7:355)
    at g (http://dev.eds.com:8080/analyst-ng/bin/external/angular.min-1.5.8.js:39:319
Peter-Optiway commented 7 years ago

I get the exact same issue when i try to load batarang in our angular 1.5.8 application.. Im using AngularJS Batarang 0.10.9.

130n commented 7 years ago

I started having the same problems recently with angular 1.5.9 and Batarang 0.10.9.

If I reload the page it's fails on angular.resumeBootstrap half the time but if I do a hard reload it works.

gkalpak commented 6 years ago

I can't reproduce this. I am going to close this, but happy to re-open and investigate if someone can provide a reproduction.