New Playground was created. CLI was download and >sf update command executed successfully. Visual Studio Code with the SF Extension Pack (Expanded) was previously installed.
We set up the new Dreamhouse project with SFDX: Create Project.
When we were asked to run SFDX: Authorize an Org it was not found in the Command Prompt of Visual Studio Code. Any help is greatly appreciated! Thanks!
@Richard Tanner Thank you for your feedback.
These are great news that you were able to solve your problem and can now move forward.
Sincerely,
Mykhailo Vdovychenko
Bringing Cloud Excellence with IBVCLOUD OÜ
Solution:
When the CLI was installed (December 2024), it set up C:\Program Files\sfdx\bin in the global environment path.
Salesforce CLI Command Reference | Salesforce Developers
Indicates that sfdx commands were deprecated on June 12 2024.
Using Windows command prompt, we confirmed there was no ‘C:\Program Files\sfdx\bin’.
There was ‘C:\Program Files\sf\bin’ present, so we made the necessary change in the global environment path.
We re-opened Visual Studio Code and reopened the Dreamhouse folder. The application could see all of the SFDX commands, but a warning came up the Java Development Kit (JDK) was out of date and failed.
After we installed the 17.0.8 JDK and reopened Visual Studio Code/Dreamhouse folder everything worked as expected.
Hi @Richard Tanner I am a member of Trailhead Help, We see that you have successfully completed the badge Get Started with Salesforce Development. Please post the solution or mark any one of them above which helped you to resolve your query and mark it "Best Answer" to close this thread, and also it might help the fellow Trailblazer's who are facing the similar issue. Thank You!
Hello@Richard Tanner,
- Make sure you have created the project
- make sure you have updated vs code version
- Move from sfdx (v7) to sf (v2) Move from sfdx (v7) to sf (v2) | Salesforce CLI Setup Guide | Salesforce Developers
- Update Salesforce CLI Update Salesforce CLI | Salesforce CLI Setup Guide | Salesforce Developers
Hi, @Richard Tanner
- https://salesforce.stackexchange.com/questions/242581/no-option-for-sfdxauthorize-an-org-command-in-vs-code-command-palette
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T45G7SAJ
Also too, make sure if you installed and activated all Salesforce Extenshions for VS Code, like as mentioned in this Challenge
Sincerely,
Mykhailo Vdovychenko
Bringing Cloud Excellence with IBVCLOUD OÜ