Comments (12)
You can apply the workaround mentioned here actions/runner-images#9733 (comment)
add this line before running playwright install sudo rm /etc/apt/sources.list.d/microsoft-prod.list
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
npx playwright install --with-deps
Edit: Seems fixed so the workaround shouldn't be needed anymore
from playwright.
This was a registry outage that is fixed now: microsoft/linux-package-repositories#130 (comment)
from playwright.
+1
from playwright.
You can apply the workaround mentioned here actions/runner-images#9733 (comment)
add this line before running playwright install
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
run: | sudo rm /etc/apt/sources.list.d/microsoft-prod.list npx playwright install --with-deps
yeah this workaround works.
from playwright.
The problem has disappeared for us.
from playwright.
Same issue here. Looks like an issue with the packages.microsoft.com registry and not necessarily related to Playwright. Since Playwright is a Microsoft product here's to hoping they can escalate this issue internally.
from playwright.
Same issue here - we're running in Azure DevOps Pipelines and seeing this:
> npx playwright install --with-deps
Installing dependencies...
Switching to root user to install dependencies...
Get:1 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Hit:7 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:6 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1610 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [303 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1830 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [311 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1070 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [244 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.2 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.2 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1392 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [243 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1768 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [299 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [848 kB]
Get:21 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [163 kB]
Reading package lists...
E: Failed to fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' is no longer signed.
Failed to install browsers
Error: Installation process exited with code: 100
npm ERR! code 1
npm ERR! path /home/vsts/work/1/s/src/FrontEnd
npm ERR! command failed
npm ERR! command sh -c npx playwright install --with-deps
from playwright.
Yeah, same issue here, my Build Pipeline is failing since I can't install playwright on GitHub Actions anymore.
from playwright.
same issue here
from playwright.
You can apply the workaround mentioned here actions/runner-images#9733 (comment)
add this line before running playwright install
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
run: | sudo rm /etc/apt/sources.list.d/microsoft-prod.list npx playwright install --with-deps
Helped me as well, thanks!
from playwright.
Crossposting this related issue discussion: https://github.com/orgs/community/discussions/120966
from playwright.
Closing as per above.
from playwright.
Related Issues (20)
- [Bug]: 1.44.0 automatically closes the browser on test end (even with reuseBrower:true) HOT 2
- Can't run tests in debug mode HOT 4
- [Bug]: Test info attached in html report in wrong format HOT 1
- [Feature]: receive parameters in `test.describe()` HOT 1
- Target page, context or browser has been closed HOT 1
- [Bug]: Unable to view the right context on Traces and Videos
- [Bug]: Playwright Extension Test Explorer cannot find setup.ts files HOT 2
- [Bug]: Updated to Playwright Test for VSCode v1.1.1 and all test except one dissappeared from Test Explorer view HOT 2
- [Bug]: Can't run tests with the extension (no Browser will be opend) HOT 2
- [Bug]: Setting a different locale does not work as expected HOT 4
- [Regression]: Playwright Test for VSCode can't find *.spec.ts files HOT 7
- [Bug]: "waitForResponse" always fails on firefox HOT 1
- [Bug]: Using force:true to click on an element overlapped by another element will not click or error out HOT 1
- [Bug]: Using test.fail() does not actually fail the test HOT 2
- [Bug]: Locators are in Playwright provided is not Detecting when we run same Scripts again HOT 1
- [Bug]: Tests no longer found in nested Test directory HOT 1
- [Regression]: Forever running state HOT 1
- [Bug]: slowMo option not slowing down commands HOT 2
- [Feature]: I would like waitForResponse to be available on BrowserContext HOT 1
- [Bug]: Expect timeout is not used for locators HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright.