ui icon indicating copy to clipboard operation
ui copied to clipboard

[bug]: Script not found

Open Boby900 opened this issue 1 year ago • 1 comments

Describe the bug

While running the cmd bunx --bun shadcn-ui@latest init I am getting the error: Script not found "shadcn-ui@latest"

Affected component/components

Not able to install the project

How to reproduce

Use this cmd bunx --bun shadcn-ui@latest init in Windows using the Git Bash Screenshot (459)

Codesandbox/StackBlitz link

https://github.com/Boby900/yogurt

Logs

$ bunx --bun shadcn-ui@latest init
error: Script not found "shadcn-ui@latest"

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (4) x64 Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
    Memory: 594.21 MB / 3.92 GB
  Binaries:
    Node: 21.1.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.4.0 - C:\Program Files\nodejs\npm.CMD
    bun: 1.1.6 - ~\AppData\Roaming\npm\bun.CMD
  Browsers:
    Chrome: 124.0.6367.207
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.19041.3636

Before submitting

  • [X] I've made research efforts and searched the documentation
  • [X] I've searched for existing issues

Boby900 avatar May 14 '24 03:05 Boby900

Please fix :)

websaid avatar May 18 '24 15:05 websaid

using the bun with a space worked for me. bun x --bun shadcn-ui@latest init

Boby900 avatar May 28 '24 01:05 Boby900

using the bun with a space worked for me. bun x --bun shadcn-ui@latest init

using the bun with a space worked for me. bun x --bun shadcn-ui@latest init

this works

braswelljr avatar Jun 12 '24 08:06 braswelljr

yes @braswelljr bun x is an alias for bunx.

Boby900 avatar Jun 13 '24 03:06 Boby900