Node Version Error when using SFDX CLI
Are you still using a computer with Windows 7?
If so, I feel for you. Here’s a quick tip to make it less painful.
The problem
When you try to use the Salesforce DX CLI, you might see the following error:
Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher. ![Example output spreadsheet](/img/field-extraction-spreadsheet-output.png)
e to 1 skips this check, but Node.js might not execute correctly. Any issues encountered on unsupported platforms will not be fixed.
The fix
You can stop Node complaining about the Windows version by doing the following:
- Go to Control Panel -> System -> Advanced System Settings > Environment Variables
- Create a new User Variable:
- Variable name:
NODE_SKIP_PLATFORM_CHECK
- Variable value:
1
- Variable name:
- Restart your command prompt and/or computer
The next time you use the SFDX CLI, Node.js will skip the platform check and let you use the CLI.
Should I worry about the error?
No. Although Node.js isn’t officially supported under Windows 7, the Salesforce DX CLI still works.
Last modified on 2021-05-11