Skip to content

[bug]: can't initialize project in a empty directory #10277

@notcolumbus

Description

@notcolumbus

Describe the bug

Image

cant create a project in an empty dorectory

Affected component/components

shadcn cli

How to reproduce

  1. run npx shadcn@latest init --template vite in a directory
  2. go with the defaults and enter a " . " for the "What is your project named? … ." question

Codesandbox/StackBlitz link

No response

Logs

System Info

macbook pro m4 pro, macos 26.4 Beta (25E5233c)

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions