12

当我在 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)

在此处输入图像描述

4

1 回答 1

31

就我而言,McAfee 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)

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

于 2020-12-11T18:51:54.683 回答