Loading

LWC Designer throws an error while selecting a LWC component

Udgivelsesdato: Oct 30, 2024
Beskrivelse
When the user navigates to the LWC Designer and selects a LWC component, the user encounters an error:
"Get Bundles Error: DataCloneError: Failed to execute ‘postMessage’ on ‘Window’: [object Object] could not be cloned."


LWC Designer - Error Snapshot
Løsning
This error is caused due to the LWS unable to pass JSON across iframe boundaries. It can be resolved by the following steps.
  1. Disabling the configuration `Use Lightning Web Security for Lightning web components` under Set Up --> Session Settings --> Lightning Web Security.
  2. Empty the browser Cache and Hard Reload.
Vidensartikelnummer

000393890

 
Indlæser
Salesforce Help | Article