Skip to content
Bug Barometer

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

  1. First tracked here as Solution Deployed with 9 reports

    Nov 30, 2026

Also open in Lightning Services