You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bun x "could not determine executable" when npx does. #9178
Unfortunately, I cannot reproduce this on MacOS arm.
However I've made some changes in how bunx finds bin files in #9143, so it should be a bit more reliable. When running that branch in a debug build, I still cannot reproduce the results, so that is good.
I encourage you to try clearing your /tmp folder, or after this pr bun pm cache rm will properly remove bunx caches, though i doubt this is a cache issue as caches auto-clear every day.
For what it's worth, this is now happening to me regularly.
I encourage you to try clearing your /tmp folder, or after this pr bun pm cache rm will properly remove bunx caches, though i doubt this is a cache issue as caches auto-clear every day.
For some reason that doesn't seem to help.
bun pm cache rm fixes it temporarily, but the issue usually starts reappearing about a day after the previous time I've fixed it. Is it possible the cache is clearing incorrectly and leaving some sort of stale reference in place?
bun pm cache rm fixes it temporarily, but the issue usually starts reappearing about a day after the previous time I've fixed it. Is it possible the cache is clearing incorrectly and leaving some sort of stale reference in place?
Yeah, I can confirm this keeps breaking roughly once a day.
Activity
lgarron commentedon Mar 1, 2024
I think the part missing in
bun xfor feature parity is this:https://docs.npmjs.com/cli/v8/commands/npx#description
small-angel commentedon Mar 6, 2024
Unfortunately, I cannot reproduce this on MacOS arm.
However I've made some changes in how bunx finds bin files in #9143, so it should be a bit more reliable. When running that branch in a debug build, I still cannot reproduce the results, so that is good.
I encourage you to try clearing your /tmp folder, or after this pr
bun pm cache rmwill properly remove bunx caches, though i doubt this is a cache issue as caches auto-clear every day.lgarron commentedon Mar 7, 2024
Thanks, it seems this was a transient issue for me after all!
lgarron commentedon Mar 17, 2024
Hmm, unfortunately, I keep running into this. In fact, the original repro occurs with
bun1.0.31.Running
bun pm cache rmdoes fix it temporarily, but then the issue returns after a while.meoyawn commentedon Mar 18, 2024
rm -rf ~/.bun/solves this for me[Makefile] Change `WEB_TEST_RUNNER` to `web-test-runner`.
lgarron commentedon Mar 21, 2024
For what it's worth, this is now happening to me regularly.
For some reason that doesn't seem to help.
bun pm cache rmfixes it temporarily, but the issue usually starts reappearing about a day after the previous time I've fixed it. Is it possible the cache is clearing incorrectly and leaving some sort of stale reference in place?lgarron commentedon Mar 22, 2024
Yeah, I can confirm this keeps breaking roughly once a day.
bunxpostinstall throws "could not determine executable to run for package exec" #9841bun install --force#5327