Eva*_*oll 6 debian debian-buster playwright
当我尝试运行时npx playwright install-deps出现错误。
\xe2\x9d\xaf npx playwright install-deps\nInstalling Ubuntu dependencies...\nSwitching to root user to install dependencies...\nHit:1 http://security.debian.org/debian-security bullseye-security InRelease\nHit:2 http://deb.debian.org/debian bullseye InRelease \nHit:3 https://updates.signal.org/desktop/apt xenial InRelease \nHit:4 https://repo.steampowered.com/steam stable InRelease \nHit:5 https://baltocdn.com/helm/stable/debian all InRelease \nHit:7 https://packages.microsoft.com/repos/ms-teams stable InRelease \nHit:8 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Testing InRelease\nHit:6 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease \nReading package lists... Done\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nNote, selecting \'libfontconfig1\' instead of \'libfontconfig\'\nPackage libjpeg-turbo8 is not available, but is referred to by another package.\nThis may mean that the package is missing, has been obsoleted, or\nis only available from another source\n\nE: Unable to locate package libenchant1c2a\nE: Unable to locate package libicu66\nE: Package \'libjpeg-turbo8\' has no installation candidate\nRun Code Online (Sandbox Code Playgroud)\n我能够通过添加标志找到它试图安装的软件包--dry-run,
$ npx playwright install-deps --dry-run\nsudo -- 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\nRun Code Online (Sandbox Code Playgroud)\n其中一些软件包未出现在上面的列表中。
\nPlaywright 仅正式支持 Ubuntu linux 发行版 20/22 + Debian 11 请参阅此处:https ://playwright.dev/docs/library#linux
| 归档时间: |
|
| 查看次数: |
9139 次 |
| 最近记录: |