【问题标题】:Chrome console - Uncaught (in promise) TypeError: this.engines is not iterable [closed]Chrome控制台-未捕获(承诺)TypeError:this.engines不可迭代[关闭]
【发布时间】:2024-05-29 23:55:02
【问题描述】:

当我在 localhost:4200 上加载应用程序文件时,Chrome 控制台中出现此错误。 我无法弄清楚这意味着什么。如何在我的代码中找出这个错误的根源?

Uncaught (in promise) TypeError: this.engines is not iterable
    at E.updateSocialMedia (content.js:48)
    at new E (content.js:48)
    at Function.start (content.js:48)
    at Function.main (content.js:48)

【问题讨论】:

  • 我认为这与您的项目无关。只需检查浏览器上的扩展程序,看看是否有任何扩展程序导致了问题。

标签: angular google-chrome-console


【解决方案1】:

在我的情况下,McAfee chrome 扩展是导致问题的原因。 McAfee extension

Uncaught (in promise) TypeError: this.engines is not iterable
    at E.updateSocialMedia (content.js:48)
    at new E (content.js:48)
    at Function.start (content.js:48)
    at Function.main (content.js:48)

当我禁用扩展后,问题就解决了。

【讨论】:

  • 谢谢。它也对我有用。我什至不记得安装了那个扩展。
  • 我遇到了同样的错误,删除 McAfee 也修复了它。