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

Salesforce Extensions not working on VS Code #1754

Closed
trentch24 opened this issue Oct 14, 2022 · 9 comments
Closed

Salesforce Extensions not working on VS Code #1754

trentch24 opened this issue Oct 14, 2022 · 9 comments
Labels
investigating We're actively investigating this issue

Comments

@trentch24
Copy link

Summary
The Salesforce extensions are not working in VS Code. I have a Macbook with an M1. The extensions were working just fine and seemed to stop working once I updated to the latest Mac Software: Monterey 12.6.

Steps to Reproduce
When I first pull up VS Code, I get the following error:

"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."

Is anyone else encountering this same issue?

@trentch24 trentch24 added the investigating We're actively investigating this issue label Oct 14, 2022
@github-actions
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@i814u2
Copy link

i814u2 commented Oct 14, 2022

@trentch24 What's in the log, anything useful? I'm on 12.6 (since it came out), and also on M1 chip, and I don't have that issue. Terminal commands work, as well as commands through the menu. No errors on launch, either.

@trentch24
Copy link
Author

trentch24 commented Oct 14, 2022

@i814u2 I'm not sure if this is helpful, but when I try to run sfdx update in the terminal I get the following error: Bad CPU type in executable.

There may be helpful information in the log, but I am not well versed in reading it. In the log, It looks like the SFDX CLI Extension is activated.

@i814u2
Copy link

i814u2 commented Oct 14, 2022

That's node telling you that it doesn't know how to deal with the M1 chip. That would tell me that you have the x64 variation installed, but don't have Rosetta 2.

Check this out: https://support.apple.com/en-us/HT211861

You can also review issue #1045, and the final comment by RodEsp if you want to try and use the native client. I recently tried and had some issues, but it easily could have been my setup.

@trentch24
Copy link
Author

Thanks! I will try that out.

I am experiencing this issue on my work mac, but I also have a personal mac and sfdx works just fine and I don't have Rosetta.

@trentch24
Copy link
Author

That worked. Thank you!

@imanol309
Copy link

@trentch24 Were you able to solve it? I have a MSI Katana and I just updated the Salesforce extension and I get the same error.

@trentch24
Copy link
Author

Yes @imanol309. I believe I just followed these instructions: https://support.apple.com/en-us/HT211861.

Also, you can look here: #1045.

@rt83FMR
Copy link

rt83FMR commented Nov 6, 2023

Facing same issue on Windows Let me know if any solution is there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue
Projects
None yet
Development

No branches or pull requests

4 participants