Comments (4)
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.
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.
@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.
Is this anything to worry about or can I just ignore this warning for my docusaurus site?
from docusaurus.
Related Issues (20)
- With trailingSlash:true serving a build/ gives site did not load properly HOT 1
- <span style="color:orange"> in Markdown causes build to fail HOT 2
- Invalid modification of Webpack's build configuration HOT 6
- Script attribute value with quotes is escaped HOT 8
- The Markdown front matter field "id" in the index.md file under the category is ignored HOT 3
- Add option to not show the date on blog posts HOT 3
- Markdown relative links are treated URL paths if split over multiple lines HOT 1
- Console log with 188 error when using with webserver after Cloudflare HOT 2
- How to disable static site generation and SEO metadata
- RFC: Blog authors pages HOT 1
- [Docusaurus v3.4] index.html in static directory raises "Multiple assets emit different content to the same filename" error HOT 2
- The "paths[1]" argument must be of type string. HOT 20
- [ERROR] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[1]" argument must be of type string. Received undefined HOT 2
- Support image resize
- Clicking "current version" at the version dropdown redirects to the landing page of docs, which is unintuitive HOT 2
- Insecure NPM packages Detected in Docusaurus Core as a Nested Dependency HOT 1
- Webpack dev server fails to start without static assets HOT 2
- Ideal image flashing when navigating back and forward
- TabItem ignores className if lazy attribute is set
- `mdx-code-block` doesn't work when indented HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docusaurus.