Skip to main content
chandana vemasani (GXP) 님이 * Experience Cloud *에 질문했습니다

Hi, 

I'm experiencing a issue with <lightning-file-upload> in LWR site when the component is deployed as part of a Second-generation managed package. The same code works perfectly fine with unpackaged code in a scratch org. what could be the issue?

The Issue: 

When I click the "Upload Files" button, I see this JavaScript error in the browser console: 

[ERROR] Failed to load modal. Please contact your Admin. TypeError: i.open is not a function 

 

UPDATE: I have observed that it is working in Site Preview but doesn't work on published site 

@* Experience Cloud * @Salesforce.org Experience Cloud

답변 2개
  1. 2025년 10월 24일 오전 2:57

    I have checked and everything looks fine but not sure what the issue could be!

0/9000