You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Wrong line numbers in reports with type: module in package.json and Node.js 24.12.0 #38578
It works when type: module is removed from package.json
It works in other Node.js versions, it only doesn't work with 24.12.0
I also somehow got it to work with PLAYWRIGHT_WAIT_FOR_SOURCE_MAPS but it also lead to infinite loading issues (which probably is why the behavior has been changed)
changed the title [-][Bug]: Wrong line numbers in reports with type: module in package.json[/-][+][Bug]: Wrong line numbers in reports with type: module in package.json and Node.js 24.12.0[/+]on Dec 16, 2025
Version
1.57.0
Steps to reproduce
24.12.0installed and activenpm cinpx playwright testExpected behavior
Actual behavior
Additional context
type: moduleis removed frompackage.jsonPLAYWRIGHT_WAIT_FOR_SOURCE_MAPSbut it also lead to infinite loading issues (which probably is why the behavior has been changed)Environment
System: OS: macOS 15.5 CPU: (8) arm64 Apple M1 Pro Memory: 129.92 MB / 16.00 GB Binaries: Node: 24.12.0 - /Users/sebastianlandwehr/.nvm/versions/node/v24.12.0/bin/node Yarn: 1.22.22 - /Users/sebastianlandwehr/.nvm/versions/node/v24.12.0/bin/yarn npm: 11.6.2 - /Users/sebastianlandwehr/.nvm/versions/node/v24.12.0/bin/npm pnpm: 10.26.0 - /Users/sebastianlandwehr/.nvm/versions/node/v24.12.0/bin/pnpm IDEs: VSCode: 1.106.3 - /usr/local/bin/code Languages: Bash: 3.2.57 - /bin/bash npmPackages: @playwright/test: ^1.57.0 => 1.57.0