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
kumar 197kumar 197 

SFDX:Authorize an Org failed to run

Starting SFDX: Authorize an Org
15:23:42.658 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://login.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.15:23:42.729 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://login.salesforce.com --setdefaultusername
 ended with exit code 216

i have even downloaded node.js v12
Best Answer chosen by kumar 197
Suraj Tripathi 47Suraj Tripathi 47
Hi Ashutosh,
Greetings!

Please follow these steps.
1. Uninstall the Salesforce CLI from your system.
2. Install the latest version of CLI.
3. Then, try to Re-authorize your org.

If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi

All Answers

AbhinavAbhinav (Salesforce Developers) 
Hi Ashutosh,

You issue seems similar with issue in below link.Please check that and try the suggestion

https://developer.salesforce.com/forums/?id=9062I000000DLULQA4

If it helps please mark it as best answer.

Thanks!
Suraj Tripathi 47Suraj Tripathi 47
Hi Ashutosh,
Greetings!

Please follow these steps.
1. Uninstall the Salesforce CLI from your system.
2. Install the latest version of CLI.
3. Then, try to Re-authorize your org.

If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi
This was selected as the best answer