• Pravudatta Mohanty
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
I have installed the Salesforce CLI package and it is working fine from the terminal window.
I have installed the Salesforce Extensions package into Visual Studio Code and all looks fine.
However when I enter Command-Shift-P and type something like SFDX: Create Package I get a notification to install the Salesforce CLI package.
All the sfdx commands work fine from with VS Code’s terminal window.

I am at a loss as to what is wrong. 
I am running on a Mac and all the help articles are for Windows are direct you towards missing or incorrect Path statements. Not much help for a Mac user.

I have tried completely removing the SFDX package (via rm statements from terminal) along with removing the Salesforce extensions from VSCode. After reinstalling all this - same problem.

Any ideas or help would be appreciated.
 
I tried integrating Salesforce with VS code.. I installed Salesforce CLI and when I tried creating a project in VS code but it says that Salesforce CLI is not installed.
 The exact error is

"14:48:25.402 sfdx force:project:create --projectname TestProject --outputdir d:\ --manifest
'sfdx' is not recognized as an internal or external command,
operable program or batch file.
14:48:25.492 sfdx force:project:create --projectname TestProject --outputdir d:\ --manifest ended with error spawn sfdx ENOENT
Salesforce CLI is not installed. Install it from https://developer.salesforce.com/tools/sfdxcli"
After Installing Salesforce CLI in Windows 10 I am enable to run : sfdx force:auth:web:login
I get an error message Application not found 
https://imgur.com/a/IMTbDwB


 
Hello,
I am trying to learn about SFDX and have installed Visual Studio Code + Salesforce Extensions.
I skiped the step that says "Make sure you have the latest version of the Salesforce CLI installed, and that your system meets the necessary requirements." because, before installing VS Code + the SF Extensions, I reviewed the list of extensions includeded in SF Extensions and saw that it included CLI.
It was a confusion moment and... I think I also read out there that it was better to installed CLI as part of SF Extension (which includes a set of extensions).

Eventually, because I was not able to create new Project from VS Code (Ctrl+Shift+P), I decided to revisite the steps to set up SF DX with VS Code, and decided to intall SF CLI by downloading a file (win64) from here (https://developer.salesforce.com/tools/sfdxcli ) and execute installation of that file.

Right now, my laptop has the following installed:
- Visual Studio Code + Salesforce Extensions (look at screenshot below)
- Salesforce CLI (win64) dowloaded from the above link

User-added image

How can I verify if Salesforce CLI works fine? I have tried executing cmd.exe the following command: sfdx --version
... but I am getting this error message:
User-added image

Do you think that the fact that I installed SF CLI after installing VS Code is the reason for the above command line not being recognized?

How can I make sure that I have all the SFDX tools correctly installed?

Thank you very much.

 
  • December 09, 2018
  • Like
  • 0