ui icon indicating copy to clipboard operation
ui copied to clipboard

Update the docs

Open thiagomendonca-eu opened this issue 6 months ago • 0 comments

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

  1. Follow the shadcn/ui documentation.
  2. Run the provided command to create a new project with Bun.
  3. 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

thiagomendonca-eu avatar Aug 05 '24 15:08 thiagomendonca-eu