packageDirectory path containing the name of another packageDirectory path causes problems
Salesforce says this works as designed.
Summary
In sfdx-project.json, when a packageDirectory path contains a subdir of another path, it causes problems in push/pull/deploy/retrieve
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected with 1 report
Nov 30, 2026
Also open in Developer Tools
Developer Console/Web Console Missing in Winter '27 GovCloud Preview Sandboxes
Solution ScheduledPlatform / Developer ToolsWinter '27Reported Aug 31, 2026101 reports101reports
source:pull command not working with Workflow entity for cli version - 7.27.0 +
Solution ScheduledPlatform / Developer ToolsWinter '20Reported Oct 29, 201982 reports82reports
SFDX Deploy error EMFILE: too many open files
Solution ScheduledPlatform / Developer ToolsReported Jul 20, 202079 reports79reports
Getting error when trying to connect to release environment via DevOps Center.
Solution in ProgressPlatform / Developer ToolsReported Nov 16, 202252 reports52reports