ui
ui copied to clipboard
BUG:Next.js : Run the CLI command using yarn not working
when i copy it choosing yarn ,when i past it i got the npx shadcn-ui@latest init
i should get yarn add shadcn-ui@latest
#BUG
Hi @RANJEETJ06 👏
This is the way that I fixed that!
I created the project in NextJS + Yarn
& I initialized shadcn with npx shadcn-ui@latest init
. It won't create a new package.json
or package.lock.json
file. It's good to go with yarn.lock
file.
I think @shadcn needs to add the initialization with Yarn also.
Hi @RANJEETJ06 👏
This is the way that I fixed that!
I created the project in
NextJS + Yarn
& I initialized shadcn withnpx shadcn-ui@latest init
. It won't create a newpackage.json
orpackage.lock.json
file. It's good to go withyarn.lock
file.I think @shadcn needs to add the initialization with Yarn also.
Thanks, this worked for me!
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.