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
npm i -g @playwright/cli (installs 0.1.18)
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
Description
@playwright/cliv0.1.18 crashes immediately on any command on Windows, including--version:Reproduces consistently (4/4 attempts) via:
playwright-cli --version)node %APPDATA%\npm\node_modules\@playwright\cli\playwright-cli.js --versionDowngrading 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
npm i -g @playwright/cli(installs 0.1.18)playwright-cli --versionExpected behavior
The CLI prints its version.
Actual behavior
Immediate libuv assertion crash, no output:
Environment