博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AngularJS 出现 Uncaught Error: [$injector:modulerr] 的解决办法
阅读量:4704 次
发布时间:2019-06-10

本文共 1503 字,大约阅读时间需要 5 分钟。

使用

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

转载于:https://www.cnblogs.com/Totooria-Hyperion/p/5565284.html

你可能感兴趣的文章
[转]MySQL常用Json函数和MySQL常用字符串函数
查看>>
[JSOI2008]最大数maxnumber
查看>>
2012/5/27
查看>>
数的计算
查看>>
java基础总结
查看>>
基于最小生成树的实时立体匹配算法简介
查看>>
MySQL 聚合函数 控制流程函数
查看>>
洛谷P2574 XOR的艺术
查看>>
jQuery操作字符串
查看>>
pyautogui 文档(二):鼠标控制
查看>>
ASP.NET Web API路由规则(二)
查看>>
怎么用mingw运行c程序?
查看>>
040 Android TCP协议的Socket通信
查看>>
KMP模板(HDU1711)
查看>>
企业级电商一般包括哪些模块总结
查看>>
研究下
查看>>
配置react+webpack+es6中的一些教训
查看>>
python中的内容编码
查看>>
Codefoeces 734F. Anton and School 数学
查看>>
斐波那契查找法
查看>>