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
I recently updated to a newer Node version and noticed a deprecation warning when using this package, for which I believe there is still no open issue.
Running the development preview with Node >= v21.0.0 outputs the following warning:
[DEP0040] DeprecationWarning: The "punycode" module is deprecated. Please use a userland alternative instead.
I haven't confirmed if this happens with the other CLI commands as I mainly stick to the preview and render().
Looking at issues from other projects it seems Node officially deprecated punycode themselves from v21.0.0 onwards and developers should now migrate to the respective alternative.
It would be great if you could update your dependencies that rely on this module, the warning is a bit annoying and raises some eyebrows when I go to show people how it integrates amazingly with a TS backend.
I should note that the package appears to run perfectly on newer Node versions apart from this isolated warning which does not interfere with any functionality at this time.
Describe the Bug
I recently updated to a newer Node version and noticed a deprecation warning when using this package, for which I believe there is still no open issue.
Running the development preview with Node >= v21.0.0 outputs the following warning:
[DEP0040] DeprecationWarning: The "punycode" module is deprecated. Please use a userland alternative instead.
I haven't confirmed if this happens with the other CLI commands as I mainly stick to the preview and
render()
.Looking at issues from other projects it seems Node officially deprecated
punycode
themselves from v21.0.0 onwards and developers should now migrate to the respective alternative.It would be great if you could update your dependencies that rely on this module, the warning is a bit annoying and raises some eyebrows when I go to show people how it integrates amazingly with a TS backend.
I should note that the package appears to run perfectly on newer Node versions apart from this isolated warning which does not interfere with any functionality at this time.
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://github.com/resend/react-email/tree/canary/packages/create-email/template
To Reproduce
Using the official provided template, simply run
npm run dev
with Node v21.0.0 or greater, the warning will then be shown.Expected Behavior
No warning for the
punycode
deprecated module.What's your node version? (if relevant)
v22.8.0
The text was updated successfully, but these errors were encountered: