Describe the bug
I have created a new Vite project and made all the changes as described on shadcn docs but after using npx shadcn@latest init the command, I am getting an error. That's why I am not able to use shadcn components.
Following error will be displayed:

Affected component/components
All
How to reproduce
- Create a Vite project
- Make changes as described on Vite installation docs
- Use command
npx shadcn@latest init
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
Describe the bug
I have created a new Vite project and made all the changes as described on shadcn docs but after using
npx shadcn@latest initthe command, I am getting an error. That's why I am not able to use shadcn components.Following error will be displayed:
Affected component/components
All
How to reproduce
npx shadcn@latest initCodesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting