-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sfdx force:source:push doesn't seem to be calculating dependency order properly #223
Comments
K, so I updated the cli to
It's worth noting both of my packages have
|
Yes, I'm also getting this issue, even within just a single package. We have a custom label referred to in an lwc's js file and pushing to a new scratch org is consistently failing. sfdx-cli/7.19.0-c5be43915c darwin-x64 node-v10.15.3 |
@joeferraro, We currently do not support multiple packages with dependencies in the CLI. We are currently spiking on this and will hopefully add enhancements to the CLI to cover this use case in the next couple of months. |
@clairebianchi Any updates on this feature? Is it rolled out? |
@azlamsalam we are actively working on this and plan to have an announcement in Github this Thursday with details on how to test out our changes. |
Hi @clairebianchi, very interested in this also, is there an update? Thanks |
See #379 for instructions on how to try it out. |
Closing. Packages go in the order listed in the file. |
Summary
I have an sfdx project with two packages: Package A with some common lib code and Package B with my core application. Both packages are listed in
sfdx-project.json
with Package B listed second in the order and specifying Package A as a dependency.When I
sfdx force:source:push
, Package B seems to be installed first which sets off a cascading series of errors because references to elements in Package A don't exist.I could be missing something obvious, but I think this is what's happening because if I push Package A explicitly (by itself) first, THEN push Package B, everything compiles.
Thanks
Steps To Reproduce:
sfdx force:source:push
Expected result
Package A is installed first, followed by Package B
Actual result
Package B seems to be installed first.
Additional information
This seems to be an intermittent issue: I was able to build my project against a different fresh scratch org yesterday, today it isn't working.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.13.0-27dbcb37d3 darwin-x64 node-v10.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core):
OS and version:
macOS 10.14.2
The text was updated successfully, but these errors were encountered: