Closed yippie closed 3 years ago
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.
Some more info:
yarn global add sfdx-cli
Fails with:
error antlr4@4.9.0: The engine "node" is incompatible with this module. Expected version ">=14". Got "12.20.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
This is very unexpected as sfdx reports to use 12.18.3 internally and we have been using the docker image circleci/node:12
for ages now. The errors do seem to correspond with the image being upgraded to node 12.20 though.
Running into the same issue here, we were on 49.9.2 for the same reason
Isn't this a duplicate of #746?
@thvd Not completely as I experienced the issue even after upgrading to Node14. Upgrading to Node14 does NOT fix the issue
@yippie That's because the antlr lib also changed the location of their index. Can you please try installing the latest-rc
tag (which will become latest tomorrow morning)? If that doesn't work please re-open this issue.
@shetzel Are there any working links to download specific versions instead of the latest?
Summary
For our CI process, we have SFDX pinned to a specific version (49.10.0) because salesforcedx plugin updates keep breaking our CI process so we want something stable.
However, as of mid last week, installation of salesforcedx@49.10.0 is failing with no error given.
Steps To Reproduce:
mkdir sfdx wget -qO- $DX_CLI_URL | tar xJ -C sfdx --strip-components 1 ./sfdx/install sfdx sfdx plugins --core sfdx plugins:install salesforcedx@49.10.0
Expected result
salesforcedx plugin vesion 49.10.0 is installed
Actual result
Install fails and exits with exit code 1 and the following output:
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.81.0-7b953c80d1 linux-x64 node-v12.18.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core) sfdx plugins --core @oclif/plugin-autocomplete 0.1.5 (core) @oclif/plugin-commands 1.3.0 (core) @oclif/plugin-help 3.2.0 (core) @oclif/plugin-not-found 1.2.4 (core) @oclif/plugin-plugins 1.9.1 (core) @oclif/plugin-update 1.3.10 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-trust 3.4.3 (core) alias 1.1.3 (core) analytics 1.12.1 (core) auth 1.3.0 (core) config 1.2.1 (core) generator 1.1.3 (core) salesforcedx 50.6.0 (core) ├─ schema 1.0.1 (core) ├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core) ├─ templates 50.1.0 (core) ├─ custom-metadata 1.0.10 (core) ├─ apex 0.1.4 (core) └─ salesforce-alm 50.6.0 (core) sfdx-cli 7.81.0 (core)
OS and version: PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch