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
Lukesh KarmoreLukesh Karmore 

failed to authorize an org in vs code

iam trying fro 3 to4 days not getting solution error is

17:57:11.955 sfdx force:auth:web:login --setalias lkar --instanceurl https://login.salesforce.com --setdefaultusername
17:57:11.956 sfdx force:auth:web:login --setalias lkar --instanceurl https://login.salesforce.com --setdefaultusername
ended with error spawn C:\WINDOWS\system32\cmd.exe ENOET

i update CLI but not worked
please any working solution for me,  any help should be appriciated.
thank you
VinayVinay (Salesforce Developers) 
Hi Lukesh,

Do you have any proxy or firewall setup, if so you would need to configure it.
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_firewall.htm

References for similar issue
https://developer.salesforce.com/forums/?id=9062I000000IKsCQAW
https://developer.salesforce.com/forums/?id=9062I000000XqRXQA0
https://salesforce.stackexchange.com/questions/256860/authorize-org-failed-in-vs-code

Thanks,