-
Notifications
You must be signed in to change notification settings - Fork 678
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
Update next-js.mdx with correct bunx installation command. #2041
Conversation
Fixed the bunx create next-app command.
✅ Deploy Preview for tauri ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi, thanks for catching this, but Next.js docs says it is the way current it is If you have tested it to be different, let me know so I can reopen this and test myself. Then we can open a issue upstream to make sure it's not just a typo |
It has to be bun create instead of bunx create then though, right? Since bunx is an alias for bun x (the binary run command) I assume it will cause issues? I don't have bun installed / I'm not home so I can't test this rn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here what I get on windows, fresh bun out of the oven:
bunx create-next-app --use-bun
error
bunx create next-app --use-bun
works
same with bun
Oddly, yesteday, on next.js changed the docs to the current non working case
https://www.github.com/vercel/next.js/pull/64151
On bun cli it states it should be not dashed https://github.com/oven-sh/bun/blob/main/src/cli.zig#L1669
In a quick test, I noticed that bunx create whatever-app
is an alias to create-wahatver-app
, so bunx create tauri-app
works to as create-tauri-app
.
Again, thanks for bringing this up and citing the source docs which I should have looked at myself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks everyone, LGTM ✅
Fixed the bunx create next-app command.
What kind of changes does this PR include?
Description