我正在开发一个存储库,它不断地在控制台上抛出这个错误:Uncaught TypeError: this.getExtraNgModuleProviders is not a function。问题似乎是JitCompiler找不到this.getExtraNgModuleProviders 我认为JitCompiler中的函数this.getExtraNgModuleProviders应该是_getExtraNgModuleProviders,而不是在compiler.
Uncaught TypeError: $ is not a function at Object.InjectedScript.我调查了一下,发现我不小心移动了我的Gemfile,可能服务器无法访问jquery-rails gem。但在我将其移回并重新启动服务器后,问题并没有消失。然后我想也许我的页面上有一些错误的代码,它们阻止了jQuery的运行。我删除了所有的代码,使它只是一个空白文档,运行它,并再次尝试,但我在控制台中得到了相同的<
在添加产品时,我给Uncaught TypeError: $(...).button is not a function带来了这个错误。我调试过了,你可以在root上看到按钮,但仍然可以看到。实际上,这个opencart 2.1函数,除了一个页面之外,其他所有页面都工作正常。所以任何人都可以指导我的解决方案。" class="letTry" value="thisOne" />
$('.letTry').on('click',fun