docusaurus start
command shows DeprecationWarning: The punycode
module is deprecated.
#10107
Closed
6 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
Milestone
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: