Package: python3-playwright
Version: 1.55.0+ds-2
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
The new python3-playwright package does not work as expected. Running the
documented command to install browser binaries fails with a Node.js error:
node:internal/modules/cjs/loader:1386
throw err;
^
Error: Cannot find module '/usr/share/nodejs/playwright/cli.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1383:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
at Module._load (node:internal/modules/cjs/loader:1192:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Function.executeUserEntryPoint [as runMain]
(node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v22.21.1
The path in the stack trace (/usr/share/nodejs/playwright/cli.js) does
not exist. Python Playwright is invoking the Node version of Playwright,
but the Debian package does not ship the corresponding Node module. As a
result, the primary command for fetching Playwright browsers cannot be
used.
Thanks for your work maintaining Playwright in Debian.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.16.12+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-playwright depends on:
ii python3 3.13.9-2
ii python3-greenlet 3.2.4-2+b1
ii python3-pyee 13.0.0-1