jdx/mise · error
install_command ` ` exited successfully but installed no…
Error message
install_command `{install_command}` exited successfully but installed no executable into {}; check that it installs into $MISE_TOOL_INSTALL_PATH and that it fails when the build fails What it means
After running a custom install_command, verify_install_command_output checks that at least one executable file landed in the bin directory. If the command exited 0 but produced no runnable tool, mise treats it as a broken install script and fails loudly rather than silently installing nothing.
Solutions
- Make the install_command place executables into $MISE_TOOL_INSTALL_PATH/bin and chmod +x them
- Ensure the script exits non-zero when the build fails
- Run the install_command manually and inspect where artifacts are written
- Check mise debug output (MISE_DEBUG=1) to see the bin_path being verified
Example fix
// before (install script) make build # outputs to ./dist/tool // after make build && install -m 0755 ./dist/tool "$MISE_TOOL_INSTALL_PATH/bin/tool"
Defensive patterns
Strategy: validation
Validate before calling
// run the install_command locally and assert output "$INSTALL_CMD" && test -x "$MISE_TOOL_INSTALL_PATH/bin/<tool>" || echo "install_command broken"
Prevention
- Always install executables into $MISE_TOOL_INSTALL_PATH/bin with exec permission
- End install scripts with 'set -e' and non-zero exit on build failure
- Smoke-test install_command in CI before publishing the tool config
When it happens
Trigger: run_install_command executes a tool's install_command that exits successfully but the $MISE_TOOL_INSTALL_PATH/bin directory contains no executable files — verified via file::ls and file::is_executable.
Common situations: A custom install script with the wrong output directory (writes elsewhere than $MISE_TOOL_INSTALL_PATH), a build that silently no-ops, or a script that copies binaries without the executable bit.
Understand the failure class
Background: "File not found" and ENOENT errors: why libraries can't find a file that should exist — this error's family across 50 libraries.
Related errors
- artifact bundle executable does not exist
- artifactbundle_asset must end with .artifactbundle.zip, got
- artifactbundle = false conflicts with…
- command does not exist
- failed to parse registry option
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/2bbc6de45b8c4003.
Report an issue: GitHub.
Appendix: source
Thrown at src/backend/spm.rs:707
}
Ok(executables
.into_iter()
.filter(|e| filter.contains(e))
.collect())
}
/// Verifies that `install_command` actually installed an executable into `bin/`.
///
/// A package's install script may exit 0 even when the underlying `swift build`
/// failed (for example when the script does not use `set -e`), which would
/// otherwise leave mise reporting a successful install for a directory that has
/// no runnable tool in it.
fn verify_install_command_output(install_command: &str, bin_path: &Path) -> eyre::Result<()> {
if !file::ls(bin_path)?
.iter()
.any(|entry| entry.is_file() && file::is_executable(entry))
{
bail!(
"install_command `{install_command}` exited successfully but installed no executable into {}; check that it installs into $MISE_TOOL_INSTALL_PATH and that it fails when the build fails",
bin_path.display()
);
}
Ok(())
}
#[derive(Clone, Debug, Eq, PartialEq)]
pub(crate) struct GitProvider {
pub api_url: String,
pub kind: GitProviderKind,
}
impl Default for GitProvider {
fn default() -> Self {
Self {
api_url: github::API_URL.to_string(),
kind: GitProviderKind::GitHub,View on GitHub (pinned to 533346cc37)