I have installed Visual Studio code and Salesforce CLI(I confirmed in CMD by typing sfdx) but when I start new project in it says"command 'sfdx.force.project.create' not found".

  • 2
    Can you specify your operating system , cli version and vscode version and Salesforce vscode extension version – Mohith Shrivastava Jul 28 '19 at 1:24
  • It looks like, you have a period after sfdx. It should be a space. – SF Ninja Jul 28 '19 at 3:49
  • When you say, "start a project", do you mean typing it in the command line? Or do you mean using the command palette? Have you tried both? – pchittum Jul 29 '19 at 9:49

Its not dot .. It should be colon :.

cd path/to/your/sfdx/projects sfdx force:project:create --projectname MyLWC cd MyLWC

  • 1
    sfdx.force.project.create is vscode extension command .Looks like vscode extension is not getting activated. – Mohith Shrivastava Jul 28 '19 at 13:19

You can use the command palette (Ctrl+shift+P or command+shift+p) which often helps avoid typos from the command line. Command Pallette

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.