Possible EventEmitter memory leak detected when I run "docker-compose build" #1404
-
First Check
Commit to Help
Example Code
DescriptionI am trying to run the base project in my Ubuntu system. The command i use is "docker-compose build --progress=plain" to see the full details of the docker compose being run. However, the process gets stuck at "#39 [backend] resolving provenance for metadata file" for quite a while. After some troubleshooting, I get: "(node:8) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 socket listeners added to [ClientRequest]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit". I have tried to search online about this issue and looked through the source code, however I could not find anything. Is there a solution to fix this or a way for me to troubleshoot? Operating SystemLinux Operating System DetailsDistributor ID: Ubuntu Python Version3.11.10 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Additionally, in my environment, many websites are not whitelisted. Could this be the reason? |
Beta Was this translation helpful? Give feedback.
After much troubleshooting, the MaxListenersExceededWarning was due to npmjs not being able to access registry.npmjs.org due to the website not being whitelisted in my environment.