Skip to content

[email protected]+ breaks vitepress dev #3579

@lukastaegert

Description

@lukastaegert

Describe the bug

After updating to [email protected] (and still confirmed in [email protected]), we can no longer use vitepress's development mode via vitepress dev.
While the CLI app runs without visible errors, the browser only shows an empty screen. In the browser console, the following warnings and error are shown:
vitepress-error
As this does not seem to originate from our own code, we are not sure we can do anything about it. At the moment, we avoid the issue by pinning vitepress to [email protected].

Reproduction

git clone [email protected]:rollup/rollup.git
cd rollup
npm install --ignore-scripts
npm install vitepress@latest
npm run dev

Expected behavior

Opening http://localhost:5173/ in the browser shows the Rollup website.

System Info

System:
    OS: macOS 14.3.1
    CPU: (12) arm64 Apple M2 Max
    Memory: 14.80 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.5.1 - ~/.asdf/installs/nodejs/20.5.1/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.0 - ~/.asdf/plugins/nodejs/shims/npm
    pnpm: 8.14.1 - ~/.asdf/installs/nodejs/20.5.1/bin/pnpm
  Browsers:
    Chrome: 121.0.6167.184
    Safari: 17.3.1
  npmPackages:
    vitepress: ^1.0.0-rc.42 => 1.0.0-rc.42

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions