Command failed: sf org login sfdx-url --sfdx-url-file files/authFile.json --alias MyDefaultOrg --json
Error received :
Warning: Detected unsettled top-level await at file://node_modules/@salesforce/cli/bin/run.js:15 await cli.run();
I am using Salesforce CLI version 2.139.6 installed via npm (@salesforce/cli) and running the command in CI with:
Node.js: v24 (and also tested with v22)
OS: GitHub Actions Ubuntu runner
The issue is reproducible consistently with:
sf org login sfdx-url --sfdx-url-file --alias --json
Error observed:
Warning: Detected unsettled top-level await at @salesforce/cli/bin/run.js
The same setup works correctly with Node.js v20, but fails on Node 22 and 24 with the above runtime warning and CLI failure during bootstrap.
Please confirm if Salesforce CLI 2.139.x supports Node 24 in npm-based installations, or if there is a known compatibility issue with the CLI bootstrap process under Node 24.
Command failed: sf org login sfdx-url --sfdx-url-file files/authFile.json --alias MyDefaultOrg --json
Error received :
Warning: Detected unsettled top-level await at file://node_modules/@salesforce/cli/bin/run.js:15 await cli.run();
I am using Salesforce CLI version 2.139.6 installed via npm (@salesforce/cli) and running the command in CI with:
Node.js: v24 (and also tested with v22)
OS: GitHub Actions Ubuntu runner
The issue is reproducible consistently with:
sf org login sfdx-url --sfdx-url-file --alias --json
Error observed:
Warning: Detected unsettled top-level await at @salesforce/cli/bin/run.js
The same setup works correctly with Node.js v20, but fails on Node 22 and 24 with the above runtime warning and CLI failure during bootstrap.
Please confirm if Salesforce CLI 2.139.x supports Node 24 in npm-based installations, or if there is a known compatibility issue with the CLI bootstrap process under Node 24.