The Salesforce CLI outputs "(node:19552) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead." after every sf command
#3161
Labels
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Summary
There is a task #2535 with the same issue that was closed 2 months ago. I wasn't sure if it was possible to reopen a closed task.
Anyway, after upgrading to the new version:
@salesforce/cli/2.70.7 win32-x64 node-v22.11.0
I get the message in the topic for every sf command I run.
I also tried downgrading to version 2.69.14 and still the same error.
Steps To Reproduce
Run sf command
System Information
Which shell or terminal are you using? powershell, python
(node:11920) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created){
"architecture": "win32-x64",
"cliVersion": "@salesforce/cli/2.69.14",
"nodeVersion": "node-v22.11.0",
"osVersion": "Windows_NT 10.0.19045",
"rootPath": "C:\Program Files\sf\client",
"shell": "cmd.exe",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.11 (core)",
"@oclif/plugin-commands 4.1.12 (core)",
"@oclif/plugin-help 6.2.18 (core)",
"@oclif/plugin-not-found 3.2.29 (core)",
"@oclif/plugin-plugins 5.4.19 (core)",
"@oclif/plugin-search 1.2.16 (core)",
"@oclif/plugin-update 4.6.14 (core)",
"@oclif/plugin-version 2.2.16 (core)",
"@oclif/plugin-warn-if-update-available 3.1.24 (core)",
"@oclif/plugin-which 3.2.19 (core)",
"@salesforce/cli 2.69.14 (core)",
"apex 3.6.6 (core)",
"api 1.3.2 (core)",
"auth 3.6.78 (core)",
"data 3.12.3 (core)",
"deploy-retrieve 3.15.17 (core)",
"info 3.4.25 (core)",
"limits 3.3.42 (core)",
"marketplace 1.3.7 (core)",
"org 5.2.7 (core)",
"packaging 2.9.5 (core)",
"schema 3.3.43 (core)",
"settings 2.4.8 (core)",
"sobject 1.4.46 (core)",
"telemetry 3.6.26 (core)",
"templates 56.3.33 (core)",
"trust 3.7.45 (core)",
"user 3.6.4 (core)"
]
}
The text was updated successfully, but these errors were encountered: