Skip to content

[Bug]: playwright-cli v0.1.18 crashes on startup on Windows with libuv assertion (v0.1.17 works) #42402

Description

@dexterfire

Description

@playwright/cli v0.1.18 crashes immediately on any command on Windows, including --version:

Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 94

Reproduces consistently (4/4 attempts) via:

  • npm shim in PowerShell (playwright-cli --version)
  • npm shim in cmd.exe
  • direct node invocation: node %APPDATA%\npm\node_modules\@playwright\cli\playwright-cli.js --version

Downgrading to v0.1.17 fixes it completely (5/5 successful runs, including a full browser session open/snapshot/close test).

Note: one transient identical crash was observed on the very first run of v0.1.17 right after the global reinstall; all subsequent runs are stable. Suspect a startup race in the update-check / installed-skill check path (cf. #454, which fixed cacheFile() breakage introduced by the same 1.63.0-alpha roll that shipped in 0.1.18).

Steps

  1. npm i -g @playwright/cli (installs 0.1.18)
  2. playwright-cli --version

Expected behavior

The CLI prints its version.

Actual behavior

Immediate libuv assertion crash, no output:

Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 94

Environment

  • OS: Microsoft Windows [Version 10.0.26200.8875]
  • Node: v24.18.0 (system Node invoked by the npm shim)
  • @playwright/cli 0.1.18 (bundles playwright/playwright-core 1.63.0-alpha-2026-08-05) — crashes
  • @playwright/cli 0.1.17 (bundles playwright/playwright-core 1.62.0-alpha-1783623505000) — works

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions