Did I miss something when I set-up VS Code?
- Salesforce CLI is up to date
- All extensions are up to date
- The orgs in question have been authorized successfully
- The CLI appears to be installed correctly (when I run "sfdx" in the Terminal, I receive the Salesforce CLI menu)
23 Antworten
I was working on the Trailhead challenge for this & this is what worked for me:
- In VS Code: going to the Salesforce CLI Integration Extension & selecting the arrow next to Uninstall --> Install a specific version --> 64.5.1 --> Refresh Extensions or VS Code afterwards
- Running "sf plugins install code-analyzer" in VS Code Terminal
I did them at the same time, so I'm not sure which one actually fixed the issue. I tried downgrading the CLI version to 50 something first and it still didn't work. However, those 2 steps above worked for me.