salesforcedx-vscode: Org Browser fails to retrieve source from Org

Summary

If I select Org Browser in VScode and try to ‘Retrieve Source from Org’ I receive an error ENOENT: no such file or directory, stat 'c:\.eslintignore'

Steps To Reproduce:

  1. Select Org Browser in VScode
  2. For example select ‘Custom Objects’
  3. Click ‘Retrieve Source from Org’ cloud icon for Accounts

Expected result

Component metadata for Accounts should be retrieved.

Actual result

No metadata is retrieved and got error ENOENT: no such file or directory, stat ‘c:.eslintignore’

Additional information

image image

When updating SF CLI this error msg is received. Not sure if this could be related? `PS C:\Users\UserName\Desktop\GHEGYM\salesforce> sf update @salesforce/cli: Updating CLI… already on version 2.11.8-c9872b8 NOTE: This error can be ignored in CI and may be silenced in the future

  • Set the SF_HIDE_RELEASE_NOTES env var to “true” to skip this script

Error: spawn C:\Users\UserName\AppData\Local\sf\client\2.11.8-c9872b8\bin\run.cmd ENOENT`

I have tried new clean install for VScode with all the extensions, Salesforce CLI, Node.js with also removing associated Environment Variables. After running uninstall also removed all hidden folders for VScode and SalesforceCLI

Also tried to install older version of Salesforce CLI and the VScode extensions. Additionally tried to disable ESLint extension or downgrade to older version. Nothing has helped so far.

The issue is impacting everyone in our five member SF team. Reported first time on 29.9.23

Salesforce Extension Version in VS Code: v58.16.0

SFDX CLI Version: 2.11.8 win32-x64 node-v18.15.0

OS and version: Windows 11 Pro, 22H2

VS Code version: Version: 1.83.0 (user setup) Commit: e7e037083ff4455cf320e344325dacb480062c3c Date: 2023-10-03T16:12:16.321Z Electron: 25.8.4 ElectronBuildId: 24154031 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.22621

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Reactions: 1
  • Comments: 46 (22 by maintainers)

Most upvoted comments

@gbockus-sf Menu appears when clicking outside the window. I saved the files and sent them for you.

Found a few issues in the CLI repo with the same error: https://github.com/forcedotcom/cli/issues/1292 https://github.com/forcedotcom/cli/issues/1416 https://github.com/forcedotcom/cli/issues/2150

I’m going to throw together a debug vsix so we can get some error logging to see if we can’t track down the source of this issue.

This issue has been linked to a new work item: W-14319389

Thank you @SvenSoederberg. Let me see what I can find that may be related.