New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docusaurus start
command shows DeprecationWarning: The punycode
module is deprecated.
#10107
Comments
Thanks Normally we'd wait for It's a bit risky to change server implementation in a minor release, but we might drop There's Nitro, but its primary use-case does not look like to be static deployments, although it could be interesting in the future if we want to add support for Docusaurus server-side features (do we?). |
@slorber I agree that
I would absolutely love to see Docusaurus moving into this direction (as long as they stay optional). |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
When starting a dev server of the latest version of Node (v22.1.0) and Docusaurus (v3.3.2) with
npm start
(docusaurus start
) I'll get the following warning:This is due to the fact that docusaurus/core has
serve-handler
as a dependency.And
serve-handler
itself depends onfast-url-parser
which seems to be the root cause of this warning.Is there anything Docusaurus can do to fix this or does the
serve-handler
project have to refactor its code fromfast-url-parser
to Node's nativeurl
module instead?Reproducible demo
No response
Steps to reproduce
npx create-docusaurus@latest my-website classic cd my-website npm run start
Expected behavior
Don't show any warnings in the console.
Actual behavior
When starting a dev server of the latest version of Node (v22.1.0) and Docusaurus (v3.3.2) with
npm start
(docusaurus start
) I'll get the following warning:Your environment
No response
Self-service
The text was updated successfully, but these errors were encountered: