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.
Knowledge 기사 번호

000393890

 
로드 중
Salesforce Help | Article