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

Org Brower Fails to "Retrieve Source from Org" #4951

Closed
dturkelSalesforce opened this issue Jun 27, 2023 · 1 comment
Closed

Org Brower Fails to "Retrieve Source from Org" #4951

dturkelSalesforce opened this issue Jun 27, 2023 · 1 comment
Labels

Comments

@dturkelSalesforce
Copy link

dturkelSalesforce commented Jun 27, 2023

Summary

Within the same SFDX Project:

  • When attempting to use Org Browser component to "Retrieve Source from Org" for any specific component or overarching type (e.g. "Custom Objects/Account", "Custom Objects/Asset", "Apex Test Suites", consistently receiving ENOENT: no such file or directory, stat 'c:\.forceignore' error message. No metadata is downloaded. Also note: The Project does not live at C:; it is in a nested directory under my Documents. The reference to files in the drive's root folder is "weird".

  • The same requests for metadata can be successfully executed from the "normal" VSCode Explorer view, right-clicking the metadata component and choosing the "SFDX: Retrieve Source from Org" option.

Steps To Reproduce:

See Summary above. Further, if manually copying/creating the complained about missing file (in this case "c:\.forceignore"), it complains about another file -- in my particular case "c:\.git". It is as if it's reading known files using a relative path, then trying to use an absolute path w/o the correct prefix value. I realize this is stretching. It's strange that these files being complained about have anything to do with retrieving and placing the metadata.

Expected result

Component metadata should be retrieved and be available in the SFDX project.

Actual result

ENOENT: no such file or directory, stat 'c:\.forceignore' error message.

Additional information

None.

Salesforce Extension Version in VS Code:
Salesforce CLI Integration: 58.3.1

SFDX CLI Version:
sfdx-cli/7.205.6 win32-x64 node-v18.15.0

OS and version:
Windows 10 Enterprise, Version 22H2, OS Build 19045.3086

@RitamAgrawal RitamAgrawal added the os:windows Windows bugs label Jul 6, 2023
@peternhale
Copy link
Contributor

@dturkelSalesforce I see your report had been using an old version of sfdx. The old sfdx (v7.*) has been replaced by a new CLI named sf. Please see the post sf (v2) is Generally Available for details.

@CristiCanizales CristiCanizales closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants