You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing Rush under Node v22 via install-run-rush.js you get an error about punycode being deprecated printed, this is coming from the dependency on whatwg-url, newer versions of whatwg-url now depend on a userland implementation of punycode
Repro steps
Be on Node v22
Run rush via node common/scripts/install-run-rush.js
See deprecation warning
Expected result:
No deprecation warning is printed
Actual result:
The following deprecation warning is printed
(node:149018) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10)
at loadBuiltinModule (node:internal/modules/helpers:108:7)
at Module._load (node:internal/modules/cjs/loader:1099:17)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1339:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (/home/taylorl/code/kawaka/common/temp/install-run/@[email protected]/node_modules/whatwg-url/lib/url-state-machine.js:2:18)
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question
Answer
@microsoft/rush globally installed version?
5.117.9
rushVersion from rush.json?
5.140.1
useWorkspaces from rush.json?
true
Operating system?
Linux
Would you consider contributing a PR?
No
Node.js version (node -v)?
v22.8.0
The text was updated successfully, but these errors were encountered:
Summary
When executing Rush under Node v22 via
install-run-rush.js
you get an error about punycode being deprecated printed, this is coming from the dependency on whatwg-url, newer versions of whatwg-url now depend on a userland implementation of punycodeRepro steps
node common/scripts/install-run-rush.js
Expected result:
No deprecation warning is printed
Actual result:
The following deprecation warning is printed
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?The text was updated successfully, but these errors were encountered: