Skip to content

Build writes normal output to stderr #4603

Open
@kaiyoma

Description

@kaiyoma

Describe the bug

A VitePress build is writing normal (non-error) messages to stderr. This causes other tools (like Rush) to interpret the build as failing.

Reproduction

$ npx vitepress build> stdout.txt
✓ building client + server bundles...
✓ rendering pages...

Expected behavior

Non-error messages written to stdout.

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 4.87 GB / 15.71 GB
  Binaries:
    Node: 22.14.0 - C:\Program Files\Node.js\node.EXE
    npm: 11.1.0 - C:\Program Files\Node.js\npm.CMD
  Browsers:
    Edge: Chromium (131.0.2903.86)
    Internet Explorer: 11.0.26100.1882
  npmPackages:
    vitepress: 1.6.3 => 1.6.3

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions