Error when installing shadcn
Answered
West African Lion posted this in #help-forum
West African LionOP
Got this error
What's causing that?
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
Command failed with exit code 1: bun add tailwindcss-animate class-variance-authority lucide-react clsx tailwind-merge
'bun' is not recognized as an internal or external command,
operable program or batch file.
What's causing that?
8 Replies
bun isn't installed
Answer
run
bun --version
and see what you get@Yi Lon Ma run `bun --version` and see what you get
West African LionOP
bun --version
bun : The term 'bun' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ bun --version
+ ~~~
+ CategoryInfo : ObjectNotFound: (bun:String) [], CommandNotFoundExc
eption
+ FullyQualifiedErrorId : CommandNotFoundException
yea bun isn't installed in your system
you can try other package manager like pnpm
West African LionOP
letme try with bun
West African LionOP
solved. Already installed with bun
ty