You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node.js used by sfdx-cli/8.89.2 does not support Windows 7 by default #898
Summary
The recent update which was automatically pushed includes updating Node.js to v14.15.4. Since this version of Node.js does not support Windows 7, it made SFDX unusable for Windows 7 users without some hack.
When running SFDX, Windows 7 users will get the error: 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.12:30:07.195
We weren't notified that Salesforce CLI will no longer support Windows 7. The documentation from salesforce mentions "Windows—Windows 7 (64-bit and 32-bit) or later" as the System requirements, so we do expect it to still work without us having to modify the sfdx.cmd file.
Steps To Reproduce:
Using a windows 7 machine, install the latest version of Salesforce CLI
Run sfdx -v
Expected result
Command is executed, and the version is returned.
Actual result
Error message given: 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.12:30:07.195
Additional information SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.89.2-d1d2614d02 win32-x64 node-v14.15.4
Activity
amphro commentedon Mar 8, 2021
We apologize for not updating the documentation and will do so now. Windows 7 is no longer supported by Microsoft. Node will not support a version of Windows that Microsoft doesn't support, which makes it improbable for us to support it since we are built on nodejs. It doesn't mean that node14 won't work on windows 7, it just isn't supported.
You have several options:
SFDX_AUTOUPDATE_DISABLE=trueglobally) and install an old version.Again, these are not supported options but should unblock you so you can still use the CLI.