-
Notifications
You must be signed in to change notification settings - Fork 83
Closed as not planned
Closed as not planned
Copy link
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated
Description
Summary
Hello,
My Node.js installation automatically upgraded itself from v22 to v25, potentially as a result of the company's control over software updates on my machine.
The cli no longer works on node v25
Steps To Reproduce
On windows :
- Generate a project using
sf project generate - Install node v25. Install the Salesforce CLI via NPM. Reboot the computer.
- On the project root folder, run
sf org list -v --dev-debug
Expected result
The CLI is expected to print my org listing.
Actual result
The CLI throws the error TypeError: Cannot read properties of undefined (reading 'prototype')
Additional information
- Output of
sf org list -v --dev-debug/ Stack trace attached as a gist : https://gist.github.com/LoganTann-pro/b6249407be8e3d0c1173bf25c49df6ee - This is due to Node.js 25 removing support for
SlowBuffer. -
// %appdata%\npm\node_modules\@salesforce\cli\node_modules\buffer-equal-constant-time\index.js` var origBufEqual = Buffer.prototype.equal; var origSlowBufEqual = SlowBuffer.prototype.equal; bufferEq.restore = function() { Buffer.prototype.equal = origBufEqual; SlowBuffer.prototype.equal = origSlowBufEqual; };
System Information
{
"architecture": "win32-x64",
"cliVersion": "@salesforce/cli/2.113.6",
"nodeVersion": "node-v25.2.1",
"osVersion": "Windows_NT 10.0.26100",
"rootPath": "C:\\Users\\LT\\AppData\\Roaming\\npm\\node_modules\\@salesforce\\cli",
"shell": "powershell",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.39 (core)",
"@oclif/plugin-commands 4.1.37 (core)",
"@oclif/plugin-help 6.2.35 (core)",
"@oclif/plugin-not-found 3.2.72 (core)",
"@oclif/plugin-plugins 5.4.53 (core)",
"@oclif/plugin-search 1.2.36 (core)",
"@oclif/plugin-update 4.7.14 (core)",
"@oclif/plugin-version 2.2.36 (core)",
"@oclif/plugin-warn-if-update-available 3.1.52 (core)",
"@oclif/plugin-which 3.2.42 (core)",
"@salesforce/cli 2.113.6 (core)",
"agent 1.24.27 (core)",
"apex 3.8.7 (core)",
"api 1.3.3 (core)",
"auth 3.9.19 (core)",
"data 4.0.62 (core)",
"deploy-retrieve 3.23.16 (core)",
"info 3.4.96 (core)",
"limits 3.3.71 (core)",
"marketplace 1.3.8 (core)",
"org 5.9.45 (core)",
"packaging 2.23.3 (core)",
"schema 3.3.88 (core)",
"settings 2.4.51 (core)",
"sobject 1.4.79 (core)",
"telemetry 3.6.66 (core)",
"templates 56.3.71 (core)",
"trust 3.7.113 (core)",
"user 3.6.41 (core)",
"etcopydata 2.1.1 (user) published 1141 days ago (Mon Oct 10 2022)",
"sfdmu 4.38.0 (user) published 331 days ago (Sun Dec 29 2024)",
"sfdx-git-delta 6.23.0 (user) published 36 days ago (Mon Oct 20 2025)",
"sfdx-hardis 6.12.4 (user) published 7 days ago (Tue Nov 18 2025) (latest is 6.12.7)"
]
}Related issue : #3445
Metadata
Metadata
Assignees
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated