You need to sign in to do that
Don't have an account?
Vishwas B N
Error while adding Component to page
Hi Team,
I am getting below error when i add a custom LWC to a App page in app Builder. (The component was working perfectly eralier)
Action.prototype.finishAction Error [Error in $A.getCallback() [Invalid observed finalpin field. Found a duplicate accessor with the same name.]
Callback failed: serviceComponent://flexipage.editor.aura.component.FlexipageComponentController/ACTION$loadComponentDefinitions]
Can you please help me in understanding what is going wrong here.
Thank you.
I am getting below error when i add a custom LWC to a App page in app Builder. (The component was working perfectly eralier)
Action.prototype.finishAction Error [Error in $A.getCallback() [Invalid observed finalpin field. Found a duplicate accessor with the same name.]
Callback failed: serviceComponent://flexipage.editor.aura.component.FlexipageComponentController/ACTION$loadComponentDefinitions]
Can you please help me in understanding what is going wrong here.
Thank you.
All Answers
Based on similar scenarios I've seen for this error, this is an intermittent issue. Can you clear your browser cache and retry in some time and check if the issue still persists?Thanks
Hi Team,
Below is the additional detail on the above issue.
aura_proddebug.js:11392 Uncaught (in promise) TypeError: Invalid template returned by the render() method on [object:vm AdgRollupComponent (354)]. It must return an imported template (e.g.: `import html from "./AdgRollupComponent.html"`), instead, it has returned: function tmp() {
if(entry[REQUIRELOCKER] || depEntry[REQUIRELOCKER]) {
return lockerWrap(dep.$ns$, depDescriptor, entryDescriptor)
}
return dep.$ns$
}.
at aura_proddebug.js:11392
This is the error we see in the browser console when we load the app page.
Note : The same page works in QA Sandbox (v.21)
Error only in Dev Sandbox (v.22)
In my case, the the component had a track variable additional assignment, after declaration.