question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Playwright fails to install on generic-linux

See original GitHub issue

Context:

  • Playwright Version: 1.21.0-alpha-mar-25-2022
  • Operating System: Linux 5.10 Manjaro Linux
  • Node.js version: v16.13.1
  • Browser: All

Code Snippet

$ npx playwright install
Failed to install browsers
Error: ERROR: Playwright does not support chromium on generic-linux

Describe the bug

npx playwright install fails on generic-linux since this change: https://github.com/microsoft/playwright/pull/12966

It seems like support for generic-linux is missing in the findExecutablePath function: https://github.com/microsoft/playwright/blob/237b4d58212510fd652ce4751d91c0ca77d71b86/packages/playwright-core/src/utils/registry.ts#L246-L255

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aslushnikovcommented, Mar 28, 2022

@PSanetra Oops! Sorry for regressing you, my bad! And thank you for the PR! 🔥

1reaction
rwollcommented, Mar 28, 2022

Ah, sorry! I missed the link in the original description that indicated this is likely a regression. Updated with increased priority so the team can take a look ASAP!

Sorry that we broke a workflow that used to work for you, and thanks for your patience!

Read more comments on GitHub >

github_iconTop Results From Across the Web

npx playwright install-deps fails on Debian Buster
When I try to run npx playwright install-deps I get an error. ❯ npx playwright install-deps Installing Ubuntu dependencies.
Read more >
playwright - npm
Installation. Playwright has its own test runner for end-to-end tests, we call it Playwright Test. Using init command.
Read more >
Continuous Integration | Playwright - CukeTest
Playwright tests can be executed in CI environments. We have created sample configurations for common CI providers.
Read more >
Installation | Playwright
Each version of Playwright needs specific versions of browser binaries to operate. By default Playwright downloads Chromium, WebKit and Firefox browsers ...
Read more >
playwright._impl._api_types.error: target closed - You.com
What do you think of this? davidteather/TikTok-Api[INSTALLATION] - playwright._impl._api_types.Error: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found