question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[REGRESSION]: 1.25.2 Install error

See original GitHub issue

Context:

  • GOOD Playwright Version: [1.25.1]
  • BAD Playwright Version: [1.25.2]
  • Operating System: [Linux]
  • Extra: [Node.js: 16.17.0, npm: 8.15.0]

1,25,2 Install error

Install for new version 1.25.2 is failing on Linux docker image; seems to be something Chromium-related. Issue is fixed by pinning to version 1.25.1. here is the relevant stack trace:

 Installing node modules
 npm ERR! code 1
 npm ERR! path /tmp/build_069b47bb/node_modules/playwright
 npm ERR! command failed
 npm ERR! command sh /tmp/install-5cf7febd.sh
 npm ERR! Downloading Chromium 102.0.5005.40 (playwright build v1005)...
 npm ERR! Downloading Chromium 102.0.5005.40 (playwright build v1005)...
 npm ERR! Downloading Chromium 102.0.5005.40 (playwright build v1005)...
 npm ERR! /tmp/build_069b47bb/node_modules/playwright-core/lib/server/registry/index.js:652
 npm ERR!       throw new Error(`Failed to download ${title}, caused by\n${e.stack}`);
 npm ERR!             ^
 npm ERR! 
 npm ERR! Error: Failed to download Chromium 102.0.5005.40 (playwright build v1005), caused by
 npm ERR! Error: read ECONNRESET
 npm ERR!     at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
 npm ERR!     at /tmp/build_069b47bb/node_modules/playwright-core/lib/server/registry/index.js:652:13
 npm ERR!     at async Registry._downloadExecutable (/tmp/build_069b47bb/node_modules/playwright-core/lib/server/registry/index.js:651:5)
 npm ERR!     at async Registry.install (/tmp/build_069b47bb/node_modules/playwright-core/lib/server/registry/index.js:626:9)
 npm ERR!     at async installBrowsersForNpmInstall (/tmp/build_069b47bb/node_modules/playwright-core/lib/server/registry/index.js:819:3)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
orestiscommented, Sep 8, 2022

I have the same issue with GitHub actions too.

1reaction
eddiemongecommented, Sep 7, 2022
node_modules/playwright-core/lib/utils/registry.js:574
npm ERR!       throw new Error(`Failed to download ${title}, caused by\n${e.stack}`);
npm ERR!             ^
npm ERR! 
npm ERR! Error: Failed to download chromium v939194, caused by
npm ERR! Error: connect ETIMEDOUT 13.107.213.40:443
    "playwright": "^1.15",
    "playwright-cli": "^0.180.0",

Happening on Github actions as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

requests 2.21.0 incompatible with urllib3 1.25.2 (wants an ...
ERROR: requests 2.21.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.2 which is incompatible. Expected/desired behavior.
Read more >
The conflict is caused by: The user requested urllib3==1.26 ...
I am trying to install a library packages mentioned ...
Read more >
Regression with Stata Chapter 2 – Regression Diagnostics
In other words, it is an observation whose dependent-variable value is unusual given its values on the predictor variables. An outlier may indicate...
Read more >
Installing older versions fails due to inaccessible regression test
I'm trying to install GROMACS via CLI on Linux. I've noticed that following the install steps, I get the same issue for several...
Read more >
Deno 1.25 Release Notes
If you already have Deno installed, you can upgrade to 1.25 by running: deno upgrade. If you are installing Deno for the first...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found