Loading

LWC Designer throws an error while selecting a LWC component

Дата публикации: Oct 30, 2024
Описание
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
Решение
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.
Номер статьи базы знаний

000393890

 
Загрузка
Salesforce Help | Article