-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
area: docsImprovements or additions to documentationImprovements or additions to documentation
Description
What is the improvement or update you wish to see?
I'm just adding this here so people can find it on Google, because my Playwright docker container started failing when I tried to upgrade to turborepo 2.0.
For those who are experiencing this issue:
1) [chromium] › login.spec.ts:6:5 › user can login with correct details ──────────────────────────
Error: browserType.launch: Executable doesn't exist at /github/home/.cache/ms-playwright/chromium-1117/chrome-linux/chrome
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ pnpm exec playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
When running with a setup using the playwright docker container (in my instance, running with mcr.microsoft.com/playwright:v1.44.1-jammy
), the solution was to add:
PLAYWRIGHT_BROWSERS_PATH
to globalEnv
in your turbo.json
file.
I'm not sure this needs to be added to the docs specifically or not, but I figured making a post here would make it easier for people who are googling to find a solution to the same issue.
Is there any context that might help us understand?
I'm just adding the above to make this issue googleable. If this isn't the right place, please let me know and I'll move it.
Does the docs page already exist? Please link to it.
No response
jonathandion, VidunderGunder, philibea, alexfrad, taylorfsteele and 4 moreAlecRust, dejanvasic85, lochlanbroughton, hsellik, bmsuseluda and 3 more
Metadata
Metadata
Assignees
Labels
area: docsImprovements or additions to documentationImprovements or additions to documentation