Skip to content
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

fix: npx shadcn@latest init --force --silent --yes --defaults fails to initialize project #7134

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vomaksh
Copy link

@vomaksh vomaksh commented Apr 6, 2025

Addresses #7071

The issue was

Validation failed:
- tailwind: Required

It was caused by baseColor = null when initializing project with --defaults which broke zod validation.

Copy link

vercel bot commented Apr 6, 2025

@vomaksh is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@vomaksh vomaksh changed the title fix: init with --defaults bug fix: npx shadcn@latest init --force --silent --yes --defaults fails to initialize project Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant