-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
area:jsforcebugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bugvalidatedVersion information for this issue has been validatedVersion information for this issue has been validated
Description
Summary
Running the sf CLI under node v21.0.0 throws out the following warning:
(node:83047) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Steps To Reproduce
- Upgrade
nodeto v21. - Run any
sfcommand. For example,sf --version.
Expected result
@salesforce/cli/2.13.9 darwin-arm64 node-v21.0.0
Actual result
(node:83092) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
@salesforce/cli/2.13.9 darwin-arm64 node-v21.0.0
System Information
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.13.9",
"nodeVersion": "node-v21.0.0",
"osVersion": "Darwin 23.0.0",
"rootPath": "/opt/homebrew/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 2.3.9 (core)",
"@oclif/plugin-commands 2.2.28 (core)",
"@oclif/plugin-help 5.2.20 (core)",
"@oclif/plugin-not-found 2.4.3 (core)",
"@oclif/plugin-plugins 3.9.1 (core)",
"@oclif/plugin-search 0.0.23 (core)",
"@oclif/plugin-update 3.2.4 (core)",
"@oclif/plugin-version 2.0.1 (core)",
"@oclif/plugin-warn-if-update-available 2.1.1 (core)",
"@oclif/plugin-which 2.2.34 (core)",
"@salesforce/cli 2.13.9 (core)",
"apex 2.3.19 (core)",
"auth 2.8.20 (core)",
"data 2.5.16 (core)",
"deploy-retrieve 1.19.0 (core)",
"dev 1.2.0 (user)",
"info 2.6.49 (core)",
"limits 2.3.38 (core)",
"login 1.2.35 (core)",
"marketplace 0.3.0 (core)",
"org 2.10.12 (core)",
"schema 2.3.29 (core)",
"settings 1.4.33 (core)",
"sobject 0.2.11 (core)",
"source 2.10.40 (core)",
"telemetry 2.3.6 (core)",
"templates 55.5.14 (core)",
"trust 2.6.18 (core)",
"user 2.3.36 (core)"
]
}Additional information
Apparently, punycode has been deprecated starting with node v21.
truethari, akalatksy, mcartoixa and derroman
Metadata
Metadata
Assignees
Labels
area:jsforcebugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bugvalidatedVersion information for this issue has been validatedVersion information for this issue has been validated