Hi,
I’m using the sonar task “SonarCloudAnalyze@3” in my Azure Devops yaml pipeline:
- task: SonarCloudAnalyze@3
On the 9th of July we started to see the following error in the log for the task:
INFO: Found 1 tsconfig.json file(s): [C:\Users\VSSADM~1\AppData\Local\Temp\tsconfig-CYstgk.json]
##[error]ERROR: (node:2804) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
ERROR: (node:2804) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
##[error]ERROR: (Use
node --trace-warnings ...to show where the warning was created)ERROR: (Use
node --trace-warnings ...to show where the warning was created)INFO: 1 source file to be analyzed
Task log.txt (1.4 MB)
It seems like the task is still working as expected despite of the error.
Have anybody seen the same and know how to get rid of the error?
Best Regards,
Anders Havn
SonarCloudAnalyze (3.3.0)
SonarScanner for MSBuild 10.1.2