{"record":{"id":"4f68f8296e2954e2","repo":"oven-sh/bun","slug":"processwatchfailed","errorCode":null,"errorMessage":"ProcessWatchFailed","messagePattern":"ProcessWatchFailed","errorType":"exception","errorClass":"bun_install::Error","httpStatus":null,"severity":"error","filePath":"src/install/error.rs","lineNumber":89,"sourceCode":"    #[error(\"UnrecognizedDependencyFormat\")]\n    UnrecognizedDependencyFormat,\n    #[error(\"No global directory found\")]\n    NoGlobalDirectoryFound,\n    #[error(\"InvalidPackageID\")]\n    InvalidPackageID,\n    #[error(\"PartialInstallFailed\")]\n    PartialInstallFailed,\n    #[error(\"NoPackagesInstalled\")]\n    NoPackagesInstalled,\n    #[error(\"SecurityScannerInWorkspace\")]\n    SecurityScannerInWorkspace,\n    #[error(\"SecurityScannerRetryFailed\")]\n    SecurityScannerRetryFailed,\n    #[error(\"IPCPipeFailed\")]\n    IPCPipeFailed,\n    #[error(\"JSONPipeWriterFailed\")]\n    JSONPipeWriterFailed,\n    #[error(\"ProcessWatchFailed\")]\n    ProcessWatchFailed,\n    #[error(\"SecurityScannerProcessFailedWithoutExitStatus\")]\n    SecurityScannerProcessFailedWithoutExitStatus,\n    #[error(\"NoSecurityScanData\")]\n    NoSecurityScanData,\n    #[error(\"InvalidIPCMessage\")]\n    InvalidIPCMessage,\n    #[error(\"InvalidIPCFormat\")]\n    InvalidIPCFormat,\n    #[error(\"MissingIPCType\")]\n    MissingIPCType,\n    #[error(\"InvalidIPCType\")]\n    InvalidIPCType,\n    #[error(\"MissingErrorCode\")]\n    MissingErrorCode,\n    #[error(\"InvalidErrorCode\")]\n    InvalidErrorCode,\n    #[error(\"UnknownErrorCode\")]","sourceCodeStart":71,"sourceCodeEnd":107,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/install/error.rs#L71-L107","documentation":"Waiting on / watching a child process (via waitpid or the process watcher) failed. It fires when Bun cannot observe the exit status of a spawned security scanner or lifecycle script process, e.g. due to an OS-level wait error.","triggerScenarios":"Thrown at src/install/error.rs:89 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the command; transient waitpid failures can follow system load","Check for zombie-process or PID-limit issues in containers (e.g. low pids_limit)","Report reproducible cases to Bun's GitHub issues"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","contentChangedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}