【问题标题】:Salesforce LWC Uncaught (in promise) TypeError: Cannot read property 'Symbol(ViewModel)' of undefinedSalesforce LWC Uncaught (in promise) TypeError: Cannot read property 'Symbol(ViewModel)' of undefined
【发布时间】:2019-12-11 10:09:33
【问题描述】:

我在运行 Salesforce 临时组织应用程序时收到此错误;

aura_proddebug.js:274 Uncaught (in promise) TypeError: Cannot read property 'Symbol(ViewModel)' of undefined
at getInternalField (aura_proddebug.js:274)
at Object.update (aura_proddebug.js:1793)
at updateCustomElmDefaultHook (aura_proddebug.js:5627)
at Object.update (aura_proddebug.js:5779)
at patchVnode (aura_proddebug.js:5021)
at updateStaticChildren (aura_proddebug.js:5000)
at aura_proddebug.js:5542
at runWithBoundaryProtection (aura_proddebug.js:8255)
at updateChildrenHook (aura_proddebug.js:5541)
at Object.update (aura_proddebug.js:5751)

以前有人经历过吗?

【问题讨论】:

标签: javascript salesforce salesforce-lightning lwc


【解决方案1】:

我实际上能够发现问题。

当我没有 .html 文件或者我以某种方式拼写不正确时,我的组织中曾抛出此错误;包括名称区分大小写。

查看相关here

【讨论】:

    猜你喜欢
    • 2019-02-12
    • 2021-09-20
    • 2021-06-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多