Skip to content
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

tutorial.md - running 'cci task run retrieve_changes' throws 'The path "force-app", specified in sfdx-project.json, does not exist' error #14

Open
beAGoodQE opened this issue Oct 26, 2023 · 1 comment

Comments

@beAGoodQE
Copy link
Contributor

I'm retrieving changes from my scratch org in the Codespaces environment, per the tutorial. When I run cci task run retrieve_changes (there was only 1 change so --include / --exclude were N/A) I receive the following error:

[10/26/23 20:20:47] Beginning task: RetrieveChanges                                                                                                                                                      
                    As user: [email protected]                                                                                                                                               
                    In org: 00DDH000000miaN                                                                                                                                                              
                                                                                                                                                                                                         
                    Querying Salesforce for changed source members                                                                                                                                       
                    GlobalValueSet: Rugby_Positions                                                                                                                                                      
                    Retrieving components with command: sfdx force:source:retrieve -a 58.0 -x /tmp/tmpyltskrd8/package.xml -w 5                                                                          
(node:5696) Warning: Deprecated environment variable: SFDX_INSTANCE_URL. Please use SF_ORG_INSTANCE_URL instead.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:5696) Warning: Deprecated environment variable: SFDX_DISABLE_TELEMETRY. Please use SF_DISABLE_TELEMETRY instead.
Warning: We plan to deprecate this command in the future. Try using the "project retrieve start" command instead.
Warning: The "-u" flag has been deprecated. Use "--target-org | -o" instead.
Error (1): The path "force-app", specified in sfdx-project.json, does not exist. Be sure this directory is included in your project root.
Preparing retrieve request... done

Error: Command exited with return code 1
Run this command for more information about debugging errors: cci error --help

@beAGoodQE beAGoodQE changed the title tutorial.md - running 'cci task run retrieve_changes' throws 'The path "force-app", specified in sfdx-project.json, does not exist' errorI'm creating my first scratch org in the Codespaces environment, per the tutorial. When I run cci flow run dev_org I receive the following error: tutorial.md - running 'cci task run retrieve_changes' throws 'The path "force-app", specified in sfdx-project.json, does not exist' error Oct 26, 2023
@beAGoodQE
Copy link
Contributor Author

I got around this by first running mkdir force-app then the retrieve changes command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant