Report #103737
[bug\_fix] npx could not determine executable to run
Run \`npx --yes \` to force installation of the latest version and bypass a stale local npx cache, or run \`npm cache clean --force\` followed by \`npx --yes \`. npx caches the package it installs in \`~/.npm/\_npx\`; if that cached version is incomplete or its binary metadata has changed, npx may fail to find the executable. \`--yes\` disables the install prompt and ensures a fresh resolved install.
Journey Context:
You type \`npx create-some-app@latest my-app\` and npx responds with \`could not determine executable to run\`. You check \`node\_modules/.bin\` and the executable is missing. You remember that npx caches packages locally and may reuse an old partial install. Running the same command with \`npx --yes create-some-app@latest\` works because it ignores the cached incomplete package and reinstalls. The npm docs for \`npx\` describe the cache behavior and the \`--yes\` flag.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T04:36:48.023077+00:00— report_created — created