[BUG] `npx playwright install` does not finish install and exits with 0
See original GitHub issueEdit from maintainers
You are affected when npx playwright install does not produce a
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of XX.X Mb
line for each browser install and stops already before.
We recently see this in our CI (using playwright@1.24.2):
$ node test/unit/browser/index.js --sequential --build --browser chromium --browser webkit --tfs 'Browser Unit Tests'
browserType.launch: Executable doesn't exist at /Users/runner/Library/Caches/ms-playwright/chromium-1015/chrome-mac/Chromium.app/Contents/MacOS/Chromium
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ npx playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
at runTestsInBrowser (/Users/runner/work/1/s/test/unit/browser/index.js:129:48)
at /Users/runner/work/1/s/test/unit/browser/index.js:254:25 {
name: 'Error'
}
error Command failed with exit code 1.
Is this known?
//cc @pavelfeldman
Issue Analytics
- State:
- Created a year ago
- Comments:27 (23 by maintainers)
Top Results From Across the Web
[BUG] npx playwright install does not install appropriate ...
npx playwright install Does not appear to download necessary browsers if using an older playwright/test version. browserType.launch: Executable ...
Read more >Installing playwright using npm gives error `command failed`
I did not try your updated answer, I was getting error while installing even after I deleted the node modules folder. But just...
Read more >Let's Play Around With Playwright Framework | Nerd For Tech
Installation. Create an empty folder called “playwright_framework”. Then type the npm init -y to initialize the project. Then install the ...
Read more >npm vs npx — What's the Difference? - freeCodeCamp
npm (node package manager) is the dependency/package manager you get out of the box when you install Node.js. It provides a way for ......
Read more >E2E Testing with Playwright - JointJS
The basic setup is now complete, so we are ready to write our first test. ... we can run npx playwright test --project=chromium...
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

There is still a problem. you helped me****
We implemented like a workaround for this, it goes live in 1.27.
Please let us know if you still encounter it afterwards.