GithubHelp home page GithubHelp logo

Comments (4)

g1eny0ung avatar g1eny0ung commented on June 18, 2024 2

Encounter the same problem too. If you are using pnpm as the package manager, simply run pnpm patch [email protected] and update the require('punycode') to require('punycode/'), then run pnpm patch-commit ... to solve it temporarily.

More details: petkaantonov/urlparser#20.

from docusaurus.

slorber avatar slorber commented on June 18, 2024 1

Thanks

Normally we'd wait for serve-handler to update and fix the problem. Unfortunately, I doubt serve-handler is well-maintained these days, and not sure a fix will be published. We'd probably have to patch it ourselves.


It's a bit risky to change server implementation in a minor release, but we might drop serve-handler in a major if we find a good alternative. I don't know the current landscape of alternatives to serve a static deployment.

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?).

from docusaurus.

mamiu avatar mamiu commented on June 18, 2024 1

@slorber I agree that serve-handler is not well-maintained anymore. But also don't know of any good alternatives.

[...] if we want to add support for Docusaurus server-side features (do we?).

I would absolutely love to see Docusaurus moving into this direction (as long as they stay optional).
With server-side features there would be endless possibilities to make Docusaurus way better than it already is.

from docusaurus.

jamiecropley avatar jamiecropley commented on June 18, 2024

Is this anything to worry about or can I just ignore this warning for my docusaurus site?

from docusaurus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.