You need to sign in to do that
Don't have an account?
Brooks Johnson 6
Develop an App with CLI and Source Control
Hi Friends,
I am trying to work though the Trailhead Project Develop an App with CLI and Source Control. When I try to pull down my source from the CLI I get the following error.
ERROR running force:source:retrieve: A default package path string is required for SourceWorkspaceAdapter.
With the JSON flag the following is returned.
Thank you in advance for any thoughts on solving this.
I am trying to work though the Trailhead Project Develop an App with CLI and Source Control. When I try to pull down my source from the CLI I get the following error.
ERROR running force:source:retrieve: A default package path string is required for SourceWorkspaceAdapter.
With the JSON flag the following is returned.
Thank you in advance for any thoughts on solving this.
$ sfdx force:source:retrieve --manifest assets/package.xml --targetusername pdii --wait 10 --json { "status": 1, "name": "missing_package_path", "message": "A default package path string is required for SourceWorkspaceAdapter.", "exitCode": 1, "commandName": "SourceRetrieveCommand", "stack": "missing_package_path: A default package path string is required for SourceWorkspaceAdapter.\n at Function.create (C:\\Users\\Admin\\AppData\\Local\\sfdx\\client\\7.15.3-c7d407d236\\node_modules\\salesforce-alm\\node_modules\\@salesforce\\core\\lib\\sfdxError.js:141:16)\n at new SourceWorkspaceAdapter (C:\\Users\\Admin\\AppData\\Local\\sfdx\\client\\7.15.3-c7d407d236\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceWorkspaceAdapter.js:75:36)\n at Function.create (C:\\Users\\Admin\\AppData\\Local\\sfdx\\client\\7.15.3-c7d407d236\\node_modules\\salesforce-alm\\node_modules\\@salesforce\\kit\\lib\\creatable.js:26:26)\n at SourceRetrieve.retrieve (C:\\Users\\Admin\\AppData\\Local\\sfdx\\client\\7.15.3-c7d407d236\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceRetrieve.js:45:74)", "warnings": [] }