-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node 12 does not support null coalescing operator #1741
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hey @Kevmo92 node v12 isn't supported anymore. We bundle the current LTS node with our installers and support node >= current maintenance for npm installs. See: |
@cristiand391 I understand the latest version of sfdx doesn't work with node 12. However the Before that it was using |
We have large codebases that we are currently in the process of converting off of node 12 now to newer versions. This sfdx version was the last one to support node 12 and it has been working fine until a recent dependency update. Why are dependency versions being updated on an older version of sfdx? I assumed those dependency versions would be pinned since this is a pinned version of sfdx (7.96.1) |
forcedotcom/kit@1.6.1...1.7.0 <- breaking changes made here |
@Kevmo92 @ChaseBowen all sfdx versions installed with npm before that ⬆️ will get the latest version of dependencies because of carets, even if we revert the change made in For these cases we suggest to use the tarballs during your migration as those include the dependencies, a teammate found the tarballs for sfdx v7.96.0: linux: https://developer.salesforce.com/media/salesforce-cli/sfdx/versions/7.96.0/633fe15/sfdx-v7.96.0-633fe15-linux-x64.tar.gz Please note that the tarballs include the node binary, if the only reason you were using an old sfdx version is because of other code requiring node v12 to be used you all should use the tarballs (or the installers found here) and install the latest stable release, it will use its own binary and you can still use v12 for other projects. |
Thanks for the suggestions @cristiand391 |
@cristiand391 that's super helpful and a great workaround. By chance to you have the tar for 7.96.1? |
@Brian-Triplett we don't see the tarballs listed for v7.96.1 in our server. |
Thanks for checking though! |
Summary
Running sfdx with node 12 no longer works
Steps To Reproduce:
npm i -g [email protected]
sfdx --version
Expected result
The version of sfdx is displayed
Actual result
System Information
Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.)
bash
If you are using
sfdx
sfdx version --verbose --json
If you are using
sf
sf version --verbose --json
Additional information
Feel free to attach a screenshot.
The text was updated successfully, but these errors were encountered: