ui icon indicating copy to clipboard operation
ui copied to clipboard

Error initializing shadcn-ui on nextjs

Open igmtink opened this issue 1 year ago • 5 comments

I'm using this command to initialize shadcn-ui "bunx --bun shadcn-ui@latest init".

And here's the error that I encounter:

image

Bun version: 1.0.22+b400b36ca Nextjs version: 14.0.4

igmtink avatar Jan 12 '24 03:01 igmtink

Did you try the command : npx shadcn-ui@latest init?

I have another question: Did you install NextJS with bun?

alamenai avatar Jan 14 '24 00:01 alamenai

I am having same issue with initializing NextJs with bun also

Andy0926 avatar Jan 14 '24 03:01 Andy0926

Did you try the command : npx shadcn-ui@latest init?

I have another question: Did you install NextJS with bun?

Yes I am using a bun on my nextjs I just copy the command from shadcn-ui

igmtink avatar Jan 14 '24 03:01 igmtink

Running bunx shadcn-ui@latest init without the --bun flag worked for me.

Not sure if there's any negative side effects to this.

f-23 avatar Jan 14 '24 06:01 f-23

Running bun shadcn-ui@latest init without the --bun flag worked for me.

Not sure if there's any negative side effects to this.

same question

igmtink avatar Jan 14 '24 07:01 igmtink

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.

shadcn avatar Feb 27 '24 23:02 shadcn