ionic5 issue: "index.js:7 Error: Invalid value type at Function.a.set"

ionic5 issue: "index.js:7 Error: Invalid value type at Function.a.set"

每次我 运行 任何离子项目时都会出现这两个错误;它们出现在我尝试过的所有浏览器上,如 Chrome、Firefox、Microsoft Edge 等

我也尝试 运行 以前 运行 正常的项目,但现在显示相同的错误!

Error: Invalid value type
    at Function.a.set (index.js:7)
    at t.setIsTrutedEnforced (index.js:7)
    at index.js:49
Uncaught (in promise) Error: Given action "NormalMode/SetPageData", reducer "isTrustedEnforced" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.
    at index.js:7
    at Object.g [as dispatch] (index.js:7)
    at t.SetPageData (index.js:7)
    at index.js:49

这些错误是由 Kaspersky Password Manager 扩展脚本引发的(至少在我的案例中它是来源)。 如果您禁用该扩展程序,错误将不再出现。