[BUG]install python -m playwright install on windows7 Python3.8.7, got this error message:(node:5848) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.107.24 6.13:443
See original GitHub issuetrying to install python -m playwright install on windows7 Python3.8.7, got this error message:
C:\Users\10034852>python -m playwright install
(node:5848) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.107.24
6.13:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
(node:5848) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To termina
te the node process on unhandled promise rejection, use the CLI flag --unhandle d-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejectio
ns_mode). (rejection id: 1)
(node:5848) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Hey guys. I know the issue is closed, but probably it will help someone.
We faced similar issue. And the root cause was in proxy that was not set in environment variables. We have a corporate proxy that is set on system level, also it was set in yarn-config. But it looks like PW uses envrionment variables HTTP_PROXY and HTTPS_PROXY to download browser.
So once proxy variables were set - everything became fine.
I’m having this issue now and only a VPN connection solved the problem. So, to install a NPM package I need a VPN? What is going on?
Take a look: https://github.com/microsoft/playwright/issues/5442.