salesforcedx-vscode icon indicating copy to clipboard operation
salesforcedx-vscode copied to clipboard

Bug due to Apex Interactive Debugger (Extension)

Open epincas opened this issue 2 years ago • 2 comments

Summary

I am unable to use sfdx any more with my personal MacOS Catalina 10.15.7. It's been working fantastically well until a week ago. I am not sure of the root cause.

From Terminal, when attempting to run sfdx commands, these are not recognised. Example, ... ... when running sfdx --version ... I am getting this error message: /Users/myUsername/.local/share/sfdx/client/bin/sfdx: line 16: /Users/myUsername/.local/share/sfdx/client/bin/../7.132.0-6621068/bin/sfdx: No such file or directory

From VSC, when opening the folder where my Salesforce Project is stored, VSC is displaying the error shown below on the screen-shot (Source: Apex Interactive Debugger(Extension)).

Also, when trying to give the project access to the environment by running SFDX: Authorize an Org, I am getting an error "Authorize an Org failed to run" (see second screen-shot below).

I have uninstalled Salesforce Extensions Pack and VSC. I have reinstalled Salesforce CLI for Mac and have tried to run a command such as 'sfdx' but the Salesforce CLI is not recognised.

Steps To Reproduce:

  1. Start/Open Visual Studio Code for Mac and open a folder where my salesforce project is stored. (normally, VSC would automatically connect to the environment, but now, it has recently stopped doing so)

Expected result

Visual Studio Code should load the extension without issues.

Actual result

The following error is displayed by VSC: "Salesforce Extensions for VS Code encountered a problem while configuring your environment. Some features might not work. For details, click Help > Toggle Developer Tools or check the Salesforce CLI logs in ~/.sfdx/sfdx.log."

Source: Apex Interactive Debugger (Extension)

Additional information

image image

Salesforce Extension Version in VS Code: Apex Interactive Debugger v54.12.0

SFDX CLI Version: Salesforce CLI Integration v54.12.0

OS and version: MacOS Catalina 10.15.7

Laptop specs: MacBook Pro (Retina, Mid 2012) Processor: 2,6 GHz Quad-Core Intel Core i7 Memory: 16 GB 1600 MHz DDR3 NVIDIA GeForce GT 650M 1 GB Intel HD Graphics 4000 1536 MB

epincas avatar May 27 '22 15:05 epincas

Hello,

I have searched for folders "sfdx" in my Mac in order to cleans/delete potential garbage CLI prior installations. After that, I have reinstalled Salesforce CLI for Mac and am now getting this error when running sfdx from Terminal:

/Users/myUserName/.local/share/sfdx/client/bin/sfdx: line 16: /Users/myUserName/.local/share/sfdx/client/bin/../7.132.0-6621068/bin/sfdx: No such file or directory

It would be great if you could help with this issue.

Thank you very much.

epincas avatar Jun 06 '22 15:06 epincas

Hi @epincas, Are you still having these same issues getting VSC Extensions and SFDX CLI to work? If so, do the issues still occur after updating the VSC Extensions to the latest version (55.8)?

klewis-sfdc avatar Aug 11 '22 21:08 klewis-sfdc

This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.

github-actions[bot] avatar Oct 20 '22 02:10 github-actions[bot]