Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: bunx postinstall error #9841

Closed
Lol1chw opened this issue Apr 2, 2024 · 5 comments
Closed

Windows: bunx postinstall error #9841

Lol1chw opened this issue Apr 2, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Lol1chw
Copy link

Lol1chw commented Apr 2, 2024

What version of Bun is running?

1.1.0+5903a6141

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

  1. bun create vite
    1. Project Name - reproduce-bun-bug
    2. Select Framework - Vue
    3. Select a variant - Customize with create-vue
    4. Select the options you need
    5. bun install
  2. Following the shadcn-vue installation guide
  3. bunx --bun shadcn-vue@latest init

What is the expected behavior?

Successful launch of cli shadcn-vue

What do you see instead?

$ bunx --bun shadcn-vue@latest init
  ⚙️  vue-demi [1/1] error: could not determine executable to run for package exec      

error: postinstall script from "vue-demi" exited with 1

Additional information

Issue thread in discord

@Lol1chw Lol1chw added the bug Something isn't working label Apr 2, 2024
@Lol1chw
Copy link
Author

Lol1chw commented Apr 3, 2024

UPD: I tried using the full command "bun x" instead of the alias and it worked
bunx_workaround

🚧Workaround:

Use bun x instead of the alias bunx

@Jarred-Sumner
Copy link
Collaborator

Fixed by #9729

@Jarred-Sumner
Copy link
Collaborator

Fixed in #9729, please try again after running bun upgrade --canary in about an hour (or wait for Bun v1.1.1). Let us know if you run into this again.

@bamontales
Copy link

I have experienced this in v1.1.8.

@jdkcoder
Copy link

same as bamontales, experienced this in Bun v1.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants