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
Nitin Rawat 9Nitin Rawat 9 

unable to Connect my Org with VS Code

Hi, 

While connecting my VS code with my Org I am getting this error message: 

Ended with error spawn C:\Windows\system32\cmd.exe ENOENT

I have already given the Path and  checked the Proxy and Firewall. 
Please help me on this. 

 

Thanks in Advance!!

VinayVinay (Salesforce Developers) 
Hi Nitin,

This seems to be a proxy issue,  Check below references that can help you.

https://github.com/forcedotcom/salesforcedx-vscode/issues/1818
https://salesforce.stackexchange.com/questions/256860/authorize-org-failed-in-vs-code/313216

Thanks,
AnudeepAnudeep (Salesforce Developers) 
Please try

1) Reinstalling the CLI.

2) Setting the Path Variables for the CLI in System.