+ Start a Discussion
Abid ullahAbid ullah 

This command can only be used on orgs that have source tracking enabled, such as sandboxes and scratch orgs.

hi every one,
i am facing the above issue while deployee my code to org.
first i  create an org for lightning component challenges so there in dev hub i enable the options.User-added imageUser-added imagebut they give below error
User-added imageAny solutions?
SwethaSwetha (Salesforce Developers) 

As suggested in https://salesforce.stackexchange.com/questions/356987/error-running-forcesourcepush-when-doing-cci-task-run-dx-push-to-a-develop, "Use the deploy task to deploy to a persistent org that does not have source tracking (as Developer Editions do not):

cci task run deploy --org thead-dev001

You can use this against Trailhead playgrounds, Developer Editions, sandboxes of all kinds, and production orgs."

If this information helps, please mark the answer as best. Thank you