使用
AngularJS Batarang后会有一定几率(10%~20%)报错如下几种
Uncaught Error: [$injector:modulerr] Failed to instantiate module ngHintModules due to:RangeError: Maximum call stack size exceeded at Array.forEach (native) at module.exports (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2333:21) at module.exports (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2384:5) at chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2387:7 at Array.forEach (native) at module.exports (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2385:21) at chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2387:7 at Array.forEach (native) at module.exports (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2385:21) at chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:2387:7
Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.6/$injector/modulerr?p0=ngHintModules&p1=Ty…3A%2F%2Flocalhost%3A3000%2Fwww%2Flib%2Fangular%2Fangular.min.js%3A39%3A222)(anonymous function) @ angular.js:38(anonymous function) @ angular.js:4630q @ angular.js:322g @ angular.js:4591db @ angular.js:4513c @ angular.js:1777Ac.da.resumeBootstrap @ angular.js:1806maybeBootstrap @ hint.js:569
相关问题的讨论在这里:
http://stackoverflow.com/questions/27393367/chrome-extension-hint-js-nghintmodules
以及这里
这个插件还很不完全,有很多地方都会出现类似的错误.
目前的解决方法只能是禁用AngularJS Batarang