{"record":{"id":"ee531afbce190831","repo":"tinyhumansai/openhuman","slug":"resolved-node-bin-missing-install-appears-co","errorCode":null,"errorMessage":"resolved node bin missing: {} — install appears corrupted","messagePattern":"resolved node bin missing: (.+?) — install appears corrupted","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/runtime/node/bootstrap.rs","lineNumber":301,"sourceCode":"    if cfg!(windows) {\n        install_dir.to_path_buf()\n    } else {\n        install_dir.join(\"bin\")\n    }\n}\n\n/// Build a [`ResolvedNode`] from a bin directory by filling in the\n/// platform-specific executable names.\nfn build_resolved(bin_dir: PathBuf, version: String, source: NodeSource) -> Result<ResolvedNode> {\n    let (node_name, npm_name) = if cfg!(windows) {\n        (\"node.exe\", \"npm.cmd\")\n    } else {\n        (\"node\", \"npm\")\n    };\n    let node_bin = bin_dir.join(node_name);\n    let npm_bin = bin_dir.join(npm_name);\n    if !node_bin.is_file() {\n        bail!(\n            \"resolved node bin missing: {} — install appears corrupted\",\n            node_bin.display()\n        );\n    }\n    if !npm_bin.exists() {\n        tracing::warn!(\n            npm_bin = %npm_bin.display(),\n            \"[node_runtime::bootstrap] npm launcher missing; npm_exec tool will fail until reinstall\"\n        );\n    }\n    Ok(ResolvedNode {\n        bin_dir,\n        node_bin,\n        npm_bin,\n        version,\n        source,\n    })\n}","sourceCodeStart":283,"sourceCodeEnd":319,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/runtime/node/bootstrap.rs#L283-L319","documentation":"build_resolved assembled the platform-specific executable names (node/npm[.exe]) inside the resolved bin directory and the node binary is not a regular file. The install directory exists but its contents are incomplete — a corrupted, truncated or tampered managed install.","triggerScenarios":"Thrown at src/openhuman/runtime/node/bootstrap.rs:301 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Delete the managed Node install directory (under the workspace runtime cache) so the next resolve() re-downloads a fresh distribution","Check disk space and antivirus quarantine that may have removed the binary"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}