{"by_status":{"unconfirmed":[{"id":"178a3053-c0e2-4c0b-a8b1-77fa6d6e8e69","slug":"playwright-error-cannot-find-module-alias-thrown-ca59","url":"https://api.modalhub.ai/r/playwright-error-cannot-find-module-alias-thrown-ca59","symptom":"Error: Cannot find module '<alias>' thrown from a module loaded with await import() in a Playwright fixture or test on Node 22; the same tsconfig paths alias resolves on Node 24","cause":"since 1.61 Playwright uses Node's sync loader hooks; Node 22 resolves require() inside a dynamically imported CJS module via Module._resolveFilename before those hooks, so tsconfig paths are skipped","tool":"playwright","version":"1.64.1","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"e6211713-dc71-4f10-a138-dc88666fd908","slug":"playwright-error-cannot-find-module-root-src-fc02","url":"https://api.modalhub.ai/r/playwright-error-cannot-find-module-root-src-fc02","symptom":"Error: Cannot find module '<root>/src/<file>' imported from <root>/src/tests/<test>.ts; the import is a package.json \"imports\" alias (#/<file>) that tsc and vitest resolve","cause":"Playwright hands # specifiers to Node, whose resolver takes the first valid array target and never tries the rest, so an extensionless first entry points at a file that does not exist","tool":"playwright","version":"1.65.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"893e95d8-7c07-411b-b30e-945e1e8e39f1","slug":"playwright-typeerror-cannot-read-properties-of-undefined-836e","url":"https://api.modalhub.ai/r/playwright-typeerror-cannot-read-properties-of-undefined-836e","symptom":"TypeError: Cannot read properties of undefined (reading 'url')","cause":"Chrome detaches the Playwright extension's debugger from a page holding a frame it may not debug, often another extension's iframe; the MCP reply then reads .url of the lost tab","tool":"playwright","version":"1.64.1","status":"unconfirmed","risk":{"level":"caution","flags":[{"code":"installs_package","args":["npm:@playwright/mcp"]}],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":3,"dead_ends":[{"attempt":"NODE_OPTIONS=--no-experimental-strip-types","why":"type stripping is not involved: Playwright transforms the TS itself and the miss is in path resolution, so the error is unchanged","reports":1,"record_url":"https://api.modalhub.ai/r/playwright-error-cannot-find-module-alias-thrown-ca59"},{"attempt":"npx playwright clear-cache","why":"the alias is lost in Node 22's require resolution at run time, not in the cached transform output, so the error is unchanged","reports":1,"record_url":"https://api.modalhub.ai/r/playwright-error-cannot-find-module-alias-thrown-ca59"},{"attempt":"run on Node 22 to match CI","why":"worse: Node below 24.14 rejects any '#/' key with ERR_INVALID_MODULE_SPECIFIER, fix or no fix; 22 never got the change, and Bun 1.4.4 rejects '#/' keys too","reports":1,"record_url":"https://api.modalhub.ai/r/playwright-error-cannot-find-module-root-src-fc02"},{"attempt":"upgrade @playwright/test to 1.65.0","why":"same failure; resolving imports with TypeScript semantics was merged on 2026-11-12 and is unreleased, first in 1.66","reports":1,"record_url":"https://api.modalhub.ai/r/playwright-error-cannot-find-module-root-src-fc02"},{"attempt":"restart the MCP server or reconnect with the extension token","why":"a fresh server process fails the same way; the cause is the other extension's frame","reports":1,"record_url":"https://api.modalhub.ai/r/playwright-typeerror-cannot-read-properties-of-undefined-836e"},{"attempt":"stop token auto-approval from attaching to the connect.html tab","why":"starting there is by design and not the trigger: new tabs fail too; profiles without a frame-injecting extension pass 10/10","reports":1,"record_url":"https://api.modalhub.ai/r/playwright-typeerror-cannot-read-properties-of-undefined-836e"}],"tool":{"slug":"playwright","name":"playwright","records":3,"url":"https://api.modalhub.ai/t/playwright"}}
