首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >npx剧作家安装-deps在Debian Buster上失败

npx剧作家安装-deps在Debian Buster上失败
EN

Stack Overflow用户
提问于 2022-02-03 02:02:03
回答 1查看 3.6K关注 0票数 2

当我试图运行npx playwright install-deps时,我会得到一个错误。

代码语言:javascript
运行
复制
❯ npx playwright install-deps
Installing Ubuntu dependencies...
Switching to root user to install dependencies...
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease                                
Hit:3 https://updates.signal.org/desktop/apt xenial InRelease                        
Hit:4 https://repo.steampowered.com/steam stable InRelease                           
Hit:5 https://baltocdn.com/helm/stable/debian all InRelease                          
Hit:7 https://packages.microsoft.com/repos/ms-teams stable InRelease                 
Hit:8 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Testing  InRelease
Hit:6 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease        
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libfontconfig1' instead of 'libfontconfig'
Package libjpeg-turbo8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libenchant1c2a
E: Unable to locate package libicu66
E: Package 'libjpeg-turbo8' has no installation candidate

我可以通过添加--dry-run标志来找出它想要安装的软件包,

代码语言:javascript
运行
复制
$ npx playwright install-deps --dry-run
sudo -- sh -c "apt-get update&& apt-get install -y --no-install-recommends fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 libdrm2 libegl1 libgbm1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxrandr2 libxshmfence1 xvfb fonts-noto-color-emoji ttf-unifont libfontconfig libfreetype6 xfonts-cyrillic xfonts-scalable fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf tt

这些包中有一些不在上面的列表中。

EN

回答 1

Stack Overflow用户

发布于 2022-02-05 00:04:25

剧作家只正式支持Ubuntu发行版,参见:https://playwright.dev/docs/library#linux

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70965110

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档