oven-sh/bun · error · bun_install::Error

MissingErrorCode

Error message

MissingErrorCode

What it means

Sentinel variant of the install Error enum: an IPC-delivered error message lacks the error code field required to reconstruct the failure. The receiver cannot classify the reported error, so it surfaces this meta-error about the IPC payload's shape.

Solutions

  1. Retry the install; malformed error payloads usually follow a child crash
  2. Update Bun for IPC decoding fixes
  3. Report the reproduction to Bun's GitHub issues
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/install/error.rs:103 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16). Data as JSON: /api/errors/1e848407d6df5f78. Report an issue: GitHub.

Appendix: source

Thrown at src/install/error.rs:103

    #[error("IPCPipeFailed")]
    IPCPipeFailed,
    #[error("JSONPipeWriterFailed")]
    JSONPipeWriterFailed,
    #[error("ProcessWatchFailed")]
    ProcessWatchFailed,
    #[error("SecurityScannerProcessFailedWithoutExitStatus")]
    SecurityScannerProcessFailedWithoutExitStatus,
    #[error("NoSecurityScanData")]
    NoSecurityScanData,
    #[error("InvalidIPCMessage")]
    InvalidIPCMessage,
    #[error("InvalidIPCFormat")]
    InvalidIPCFormat,
    #[error("MissingIPCType")]
    MissingIPCType,
    #[error("InvalidIPCType")]
    InvalidIPCType,
    #[error("MissingErrorCode")]
    MissingErrorCode,
    #[error("InvalidErrorCode")]
    InvalidErrorCode,
    #[error("UnknownErrorCode")]
    UnknownErrorCode,
    #[error("SecurityScannerNotFound")]
    SecurityScannerNotFound,
    #[error("SecurityScannerNotInDependencies")]
    SecurityScannerNotInDependencies,
    #[error("InvalidScannerVersion")]
    InvalidScannerVersion,
    #[error("ScannerFailed")]
    ScannerFailed,
    #[error("UnknownMessageType")]
    UnknownMessageType,
    #[error("MissingAdvisoriesField")]
    MissingAdvisoriesField,
    #[error("SecurityScannerFailed")]

View on GitHub (pinned to 8c5296ac45)