Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MaxListenersExceededWarning: Possible EventEmitter - broken node 20 #28713

Closed
boldt opened this issue Dec 19, 2023 · 2 comments
Closed
Assignees
Labels

Comments

@boldt
Copy link

boldt commented Dec 19, 2023

System info

  • Playwright Version: v1.40.0
  • Operating System: Docker Images: Docker images created after this commit (841bb92) are affected, e.g.
    • mcr.microsoft.com/playwright:v1.40.0@sha256:9dcc823ba14151eecb81eedb3a0abcb4fac942ae7fa9c9f96fdfcc7f5db9d239

Issue

The docker images create the following errors. when you run npm behind a corporate proxy:

image

This issue is known and fixed in node 20:

Solution

Please update to the newest node 20 version in the docker image, were this issue is fixed.

[EDIT] Seems to work with the current image mcr.microsoft.com/playwright:v1.40.1

@yury-s
Copy link
Member

yury-s commented Dec 19, 2023

This should already be fixed in the future releases as we pull latest Node.js 20.x version when building the images.

@yury-s yury-s closed this as completed Dec 19, 2023
@k1w1m8
Copy link

k1w1m8 commented Jan 4, 2024

I tried doing a workaround for this,

npm config set proxy $HTTP_PROXY
npm config set https-proxy $HTTP_PROXY

I found that NO_PROXY still works as usual.

I wanted to use 1.40.1, but seems it is only partially released, npm and docker is available, but not java / maven?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants