Something went wrong creating a new Next.js project. Please try again.
Answered
Caribbean Elaenia posted this in #help-forum
Caribbean ElaeniaOP
Hello,
Any help would be greatly appreciated.
When trying to run bun with shadcn:
I receive the error:
Any help would be greatly appreciated.
When trying to run bun with shadcn:
bunx --bun shadcn@latest init
I receive the error:
bunx --bun shadcn@latest init
✔ The path /home/henry/project does not contain a package.json file.
Would you like to start a new project? › Next.js
✔ What is your project named? … my-app
⠧ Creating a new Next.js project. This may take a few minutes.
Something went wrong creating a new Next.js project. Please try again.
1 Reply
Caribbean ElaeniaOP
The solution to this is:
bun upgrade --canary
Answer