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
edukondalu thodetiedukondalu thodeti 

how to resolve the Authorize an Org failed to run error in vs code

Hi,
i'm getting the below error when i'm authenticate with salesforce org in VS code.please help me how to resolve this problem.

17:30:49.520 sfdx force:auth:web:login --setalias vertex --instanceurl https://test.salesforce.com --setdefaultusername
Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher.
Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this
check, but Node.js might not execute correctly. Any issues encountered on
unsupported platforms will not be fixed.17:30:49.772 sfdx force:auth:web:login --setalias vertex --instanceurl https://test.salesforce.com --setdefaultusername
 ended with exit code 216
 
Vishwajeet kumarVishwajeet kumar
Hello,
From error looks like issue is with Node.Js. Try to upgrade Node.Js version and see if it fixes the issue.

Thanks
edukondalu thodetiedukondalu thodeti
Hi,
does vs code support on windows 7?
Vishwajeet kumarVishwajeet kumar
Yes, it should. Node.js version which you have installed on system is probably is not supported on windows 7 and needs upgrade as per this article (https://stackoverflow.com/questions/65441652/node-js-installing-error-the-application-is-only-supported-on-windows-8-1-wind).

Thanks