ui
ui copied to clipboard
Update the docs
Describe the bug
Problem
While following the shadcn/ui documentation to create a new project, I encountered an error when running the command:
bunx --bun create-next-app@latest my-app --typescript --tailwind --eslint
Result: error: Script not found "create-next-app@latest"
The error seems to be related to the use of the create-next-app
command, which is not recognized by Bun. According to the official Bun documentation, the correct command is create next-app
. I believe the shadcn/ui documentation should be fixed to prevent other users from facing the same issue.
Suggested Solution
Update the documentation to use the correct command as per the official Bun documentation:
bunx --bun create next-app@latest my-app --typescript --tailwind --eslint
Affected component/components
All
How to reproduce
- Follow the shadcn/ui documentation.
- Run the provided command to create a new project with Bun.
- Observe the resulting error.
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Windows
Before submitting
- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues