1

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

3
  • 2
    Can you specify your operating system , cli version and vscode version and Salesforce vscode extension version Jul 28, 2019 at 1:24
  • It looks like, you have a period after sfdx. It should be a space.
    – Cloud Man
    Jul 28, 2019 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, 2019 at 9:49

2 Answers 2

1

Its not dot .. It should be colon :.

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

1
  • 1
    sfdx.force.project.create is vscode extension command .Looks like vscode extension is not getting activated. Jul 28, 2019 at 13:19
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .