Next.js Discord

Discord Forum

ShadCN cli issue

Unanswered
Trupal posted this in #help-forum
Open in Discord
well i was trying to create a project in next js and have been facing issues in shadcn cli looks like to me an issue which needs a patch in shadcn cli !!! where can i create issue regarding this on githiub ? is there a different cli repo other than ui on shadcn ?

P.S. - i was using bun as a package manager .
and the issue are regarding tailwind config
would love to discuss more on this

9 Replies

first one looks like an bun issue but second is caused by shadcn cli also i tried adding those dependencies again but looks like ot doesnt understnad the changes in tailwind config files form tailwind.config.js to postcss.config.mjs.
try to use bun x shadcn@latest init
@tsa Are you using the canary cli with tailwind v4
Was using stable 15.2.3
@Krishna try to use bun x shadcn@latest init
Well i am using previous versions of next and shadcn now
@Trupal Well i am using previous versions of next and shadcn now
yeah, if you use the latest version of next it would init
or you could use an older version of the shadcn cli
@tsa yeah, if you use the latest version of next it would init
Yeah i did it with old version
cool