NPM Build Utilities @ 0.2.0-alpha.1
    Preparing search index...

    Interface NodeCliErrorInternal

    An approximation of the error thrown by node run via npm, which I can't find the proper type for despite a ton of search keywords.

    0.1.0-alpha

    interface NodeCliError {
        message: string;
        name: string;
        cause?: unknown;
        code?: string;
        output?: (null | string)[];
        path?: string;
        pid?: number;
        signal?: unknown;
        stack?: string;
        status?: number;
        stderr?: string;
        stdout?: string;
        [key: string]: any;
    }

    Hierarchy

    Indexable

    • [key: string]: any
    Index

    Properties

    message: string
    name: string
    cause?: unknown
    code?: string
    output?: (null | string)[]
    path?: string
    pid?: number
    signal?: unknown
    stack?: string
    status?: number
    stderr?: string
    stdout?: string