function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AD1418AD1418 

VS Code extensions not getting activated

Hi Folks,

Whenever I am trying to run a command like create project or any other command related to CLI extensions, I am getting error like :- 
'Command 'SFDX: Create Project' resulted in an error (command 'sfdx.force.project.create' not found)'. All of a sudden this happened. I tried uninstalling and re-installing again, but no luck. Can someone assist me here.

Thanks
ANUTEJANUTEJ (Salesforce Developers) 
Hi Ad,

Have you installed the salesforce cli that runs the commands in the terminal?

Caj you try checking if you have installed package from the website "https://developer.salesforce.com/tools/sfdxcli"

Do let me know if this helps.

Regards,
Anutej
AD1418AD1418
Hi Anutej,

Thanks for your response. I have been using vs code since long time. All of sudden this issue came today. CLI is installed properly and required extensions are there too. 

Thanks
ANUTEJANUTEJ (Salesforce Developers) 
So I checked the error in https://github.com/forcedotcom/salesforcedx-vscode/issues/1670 and installing nodejs resolved the issue can you try this  once?
AD1418AD1418
Thanks for response again. I just restarted my system and it worked, dont know why. Node js was already installed. Might be due to some auto updates.