-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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 doesn't run on bun #9294
Comments
Your error stack references Node, so not sure how it's related to bun. This error is a duplicate of #9291 and fixed by the latest Node. |
@Josh-Cena Sorry, it was an error of environment. I modified my original message with a reproducible clean environment. |
Responded in oven-sh/bun#4742. |
There's a dedicated Bun issue there, let's use it: oven-sh/bun#3426 |
I agree with you and I'm sorry for opening this issue there. What's deceptive and misleading is the release of Bun v1.0.0. Normally following semver 0.x.x are kind of unstable version while 1.0.0 means the 1st stable version. When I saw and tested v1 I expected Bun to be production ready while in fact it's still in beta since they claim to want full Node.js compatibility and in v1 the Node.js compatibility is still vastly incomplete https://bun.sh/docs/runtime/nodejs-apis. So yeah most errors come from the fact that the Node.js compatibility is not 100% yet and not because upstream project have hard-coded nodejs stuff. |
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
The current architecture is so that docusaurus requires nodejs to run while it could easily run on other javascript servers like bun.
Reproducible demo
No response
Steps to reproduce
Expected behavior
Working with bun as well with nodejs
Actual behavior
Your environment
Self-service
The text was updated successfully, but these errors were encountered: