Package cannot be uploaded if JS files in the subfolders have the same name as the subfolder
Salesforce says this is fixed.
Summary
This is caused by a directory under the LWC root that contains a JS file with the same name as the directory. Like metadataGraph/metadataGraph.js
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 9 reports
Nov 30, 2026
Also open in Lightning Services
Record Page Fails to Load with "is not a function" JavaScript Error: 52601705
Solution DeployingWorkaroundPlatform / Lightning ServicesSummer '26Reported Jun 18, 20261,012 reports1,012reports
When saving the lightning component code with custom lablel in the packaging org the namespace is removed.
Solution ScheduledPlatform / Lightning ServicesSummer '19Reported Sep 11, 201966 reports66reports
Spring' 20 - Indefinite number of xhr requests to "RecordUi.getRecordCreateDefaults"
Solution ScheduledPlatform / Lightning ServicesSpring '20Reported Jan 24, 202061 reports61reports
Unable to create a new Home Page with the Lightning App Builder
Solution ScheduledPlatform / Lightning ServicesWinter '22Reported Feb 17, 202237 reports37reports