[REGRESSION]: Pull request #12877 prevents the library from being used on any linux distro that is not Ubuntu
See original GitHub issueContext:
- GOOD Playwright Version: < 1.21.0 (1.20.2, etc)
- BAD Playwright Version: 1.21.0
- Operating System: Linux
- Extra: while we are using Docker images based on buster slim, this is applicable to any Linux distro that isn’t ubuntu based (debian, possibly arch too)
Code Snippet
Run npx playwright install-deps chrome
in a non-ubuntu environment (debian for instance)
Describe the bug
https://github.com/microsoft/playwright/pull/12877 was merged in order to “solve” issues related to users of Debian that couldn’t install the required dependencies due to missing packages (usually fonts which can be solved by including the debian non-free source list), however this prevents any users of a Linux distro that is not ubuntu based from using the library.
I believe the PR should be reverted or changed to emit an actual warning instead of a hard error, or a way to ignore the check should be added, as artificially limiting the library just for Ubuntu/Linux Mint users doesn’t sound right.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:11 (8 by maintainers)
Top Results From Across the Web
microsoft/playwright v1.21.1 on GitHub - NewReleases.io
... Pull request #12877 prevents the library from being used on any linux distro ... This version was also tested against the following...
Read more >How does nodejs achieve seemingly binary compatibility ...
No, Debian and Ubuntu are not binary compatible. Debian and Ubuntu may use different compilers with different ABI, different kernel versions, ...
Read more >A Comparison of Linux Container Images
Since a container base image is basically a minimal install of an operating system stuffed in a container image, this article will compare...
Read more >CHANGELOG · shuaigewei168/nmap - Gitee.com
我知道了,不再自动展开. 加入 Gitee. 与超过 800 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :). 免费加入. 已有帐号? 立即登录. master.
Read more >The reason I stopped recommending Linux to "normal users ...
Having to upgrade the whole distro (including all the other installed apps you dont want ... Not something for the average-Joe audience Ubuntu...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So this is a debian with an extra sourceList:
This one adds the missing
ttf-ubuntu-font-family
font. Besides this font, all other dependencies are installable for both Chromium & Firefox; both browsers also seem to be functioning well.🤦 totally forgot ubuntu released 22 recently… Thanks!!