我试图在DFP广告中使用新引入的googletag.PubAdsService.enableLazyLoad选项。它在初始页面加载期间运行良好,但是当我试图刷新页面上的广告时,我会得到以下错误:
排队的GPT命令TypeError中的异常:无法读取null的属性'unobserve‘at Nt ( pubads_impl_242.js:1 ) at pubads_impl_242.js:1 at Object._.y (pubads_impl_242.js:1) at Wt (pubads_impl_242.js:1) at pubads_impl_242.js:1 at Vt (p
我有一个code snippet from bpampuch,可以将JSON数据转换成pdf格式。它以前对我有效,但当我链接我自己的本地JSON文件时,它停止工作。我不能100%确定我需要做哪些修复才能转换我自己的JSON数据-我认为这与行data.jsonData.forEach有关(见下文),但我不确定还有什么。对此有什么想法吗? JS代码片段: import $ from 'jquery';
import jsonData from "./test.json";
import pdfMake from 'pdfmake/build/pdfmake
我想禁用角动画在特定的时间,并为此在中找到的。
所以我想像这样使用它:[@.disabled]="true" (只是为了测试它),我得到了持续的错误:
错误文本:
ERROR DOMException: Failed to execute 'setAttribute' on 'Element': '[@.s' is not a valid attribute name.
at DefaultDomRenderer2.push.../../node_modules/@angular/platform-browser/f
我还在努力找出角度测试,而且我还在努力应对一个失败的测试。当我使用ng-test运行测试时,Chrome输出显示了以下错误:
CustomerComponent should create
[object ErrorEvent] thrown
下面是控制台的内容:
zone.js:192 Uncaught TypeError: _this.handler.handle is not a function
at MergeMapSubscriber.project (:9876/_karma_webpack_/webpack:/node_modules/@angular/common/f
在上执行这些步骤以将我的角5 SPA升级到角6之后,在导航到该应用程序之后,我得到了这个错误:
ERROR Error: Uncaught (in promise): TypeError: undefined is not a function
TypeError: undefined is not a function
at Array.map (<anonymous>)
at webpackAsyncContext ($_lazy_route_resource lazy namespace object:21)
at SystemJsNgModu
当我尝试从https://github.com/Microsoft/monaco-editor创建monaco编辑器时,我发现this.model.onDidChangeRawContentFast不是一个函数 ERROR Error: Uncaught (in promise): TypeError:
this.model.onDidChangeRawContentFast is not a function
TypeError: this.model.onDidChangeRawContentFast is not a function
at ViewModel.push..
我得到了下面列出的错误。我做了一些研究,人们说把它放在ngoninit或ngAfterViewInit中,但这不起作用,所以有人能帮我解决这个问题吗?下面列出了相关代码。
TrialBalanceComponent.html:29 ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'undefined: 374208'. Current value: 'undefined: 74841
如何找出受影响的组件名称?我真的不明白为什么angular说"class_1“是组件名称。我使用的是Angular 7.0.0,并且我正在进行重构。(6个组件组成一个新模块)
Error: Uncaught (in promise): Error: Component class_1 is not part of any NgModule or the module has not been imported into your module.
Error: Component class_1 is not part of any NgModule or the module has
我将我的angular应用程序从8升级到9,并启用了Ivy。现在应用程序正在正确构建,但是当我执行ng服务时,我在控制台中得到了一个错误- Error: inject() must be called from an injection context
at injectInjectorOnly (VM29 vendor.js:32922)
at Module.ɵɵinject (VM29 vendor.js:32933)
at Object.A11yModule_Factory [as factory] (VM29 vendor.js:8401)
at R3
我有一个有角的网站,有一些用angular2-nvd 3制作的图表。我最近升级了我的所有依赖项,从那时起我就出现了以下错误:
ERROR TypeError: groups.watchTransition is not a function
at SVGGElement.<anonymous> (nv.d3.js:13130)
at d3.js:962
at d3_selection_each (d3.js:968)
at Array.push../node_modules/d3/d3.js.d3_selectionPrototype.each (d
您好,在我更改并安装了一对if模块后,我得到了这个消息,我不知道我试图添加丢失的模块并检查我的代码,但它仍然是相同的错误,尝试删除angularfirestore的模块,仍然是相同的错误与firestor,我试图逐个检查我的模块,但仍然找不到问题的根源,我希望在这个感谢帮助
Uncaught Error: Unexpected value 'AngularFirestore' imported by the module 'AppModule'. Please add a @NgModule annotation.
at syntaxError (com