-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
bunx
postinstall throws "could not determine executable to run for package exec"
#9841
Comments
Fixed by #9729 |
Fixed in #9729, please try again after running |
I have experienced this in v1.1.8. |
same as bamontales, experienced this in Bun v1.1.8 |
Still (or again) present in Bun v1.1.10 (1.1.10+5102a9443)... Curiously, the tip from @Lol1chw of using |
Still present in Bun 1.1.18 and bun x instead of bunx also works. |
Reopen issue because the problem is still unresolved. |
Still present in Bun 1.1.29 and bun x instead of bunx still works. |
Can confirm that this is still present in 1.1.36 with shadcn-vue |
bunx
postinstall errorbunx
postinstall throws "could not determine executable to run for package exec"
bunx
postinstall throws "could not determine executable to run for package exec" bunx
postinstall throws "could not determine executable to run for package exec"
Note: Also this issue is not exclusive to Windows. (Faced it on Fedora, too) |
Encountered this problem with
Contrary to above post, running same command multiple times gives same error, but |
I have come to find out some interesting details:
I am feeling like this is possibly a race condition on not letting postinstall finish and go straight to trying to run it. |
Update my initial theory was wrong, it appears like There is still one issue I haven't worked out: C:\>bunx supabase@latest
error: could not determine executable to run for package supabase
# installed on local project works though
C:\>bun add supabase
C:\>bunx supabase I'm not sure the reason behind this, but if you go to the bunx cache folder and run |
|
Have similar issue on latest version on windows (which is what prompted RIsky to comment here) |
If it works with |
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?
bun create vite
bun install
What is the expected behavior?
Successful launch of cli shadcn-vue
What do you see instead?
Additional information
Issue thread in discord
The text was updated successfully, but these errors were encountered: