You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When triggering a new project via the shadcn CLI (running it in a folder without package.json), the create-next-app CLI errors are not displayed to the user (e.g. project name can only contain lower case letters)
Affected component/components
npx shadcn
How to reproduce
npx create-next-app AAAA
Could not create a project called "AAAA" because of npm naming restrictions:
name can no longer contain capital letters
npx shadcn@latest add button
✔ The path / does not contain a package.json file. Would you like to start a new Next.js project? … yes
✔ What is your project named? … AAAA
⠼ Creating a new Next.js project. This may take a few minutes.
Something went wrong creating a new Next.js project. Please try again.
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
-
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
When triggering a new project via the shadcn CLI (running it in a folder without package.json), the create-next-app CLI errors are not displayed to the user (e.g. project name can only contain lower case letters)
Affected component/components
npx shadcn
How to reproduce
npx create-next-app AAAA
npx shadcn@latest add button
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: