function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
James George 717James George 717 

LWC error, please help with Internal JS files (aura_prod.js)

Hi All,
Hopefully somebody can help me on resolving the issue.
From today, I'm getting an error on LWC component from internal file.
No changes have been made to these files, suddenly the error starting popingup... let me know if anybody have any insights

Please find the error.
Uncaught (in promise) TypeError: LWC component's @wire target property or method threw an error during value provisioning. Original error:
[Cannot assign to read only property 'value' of object '#<Object>']
    at kn.set (aura_prod.js:12)
    at e.RecordDraft.reinitializeField (recordUiUtils.js:1)
    at re.initialize (recordUiUtils.js:1)
    at e.RecordDraft.initializeDependentPicklistManagement (recordUiUtils.js:1)
    at detailPanel_Prs_Communication__c___012000000000000AAA___Full___Create___RecordLayout2.createRecordDraft (recordLayout2.js:1)
    at y (recordLayout2.js:1)
    at eval (recordLayout2.js:1)
    at detailPanel_Prs_Communication__c___012000000000000AAA___Full___Create___RecordLayout2.finishDataInitialization (recordLayout2.js:1)
    at L (recordLayout2.js:1)
    at detailPanel_Prs_Communication__c___012000000000000AAA___Full___Create___RecordLayout2.handleGetCreateCloneRecord (recordLayout2.js:1)

 
VinayVinay (Salesforce Developers) 
Hi James,

Is this issue happens only in winter'21 org or is it working in any other instance?

Check below KI link that might be related.

https://trailblazer.salesforce.com/issues_view?id=a1p4V000001YpmBQAS

Thanks,
Omkar Deokar 2Omkar Deokar 2
Facing same issue, happens only in Winter '21 and also on specific record types @James George 717