clinicjs / node-clinic

Clinic.js diagnoses your Node.js performance issues
https://clinicjs.org
MIT License
5.69k stars 125 forks source link

Error: Initiated Worker with invalid NODE_OPTIONS env variable: --trace-events-enabled is not allowed in NODE_OPTIONS #469

Open david-everest opened 8 months ago

david-everest commented 8 months ago

Expected Behavior

Process the full run.

Current Behavior

When running our software with clinic doctor or bubbleprof it throws the following error at some point:

Error: Initiated Worker with invalid NODE_OPTIONS env variable: --trace-events-enabled is not allowed in NODE_OPTIONS

The command works when using flame or without clinic.

This turns out to be very hard to google, as a lot of results just end up talking about legacy-ssl options.

I am a bit lost on how to even approach this as I am rather new to profiling nodejs applications that use workers and more complex stuff.

Environment