You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the clinic flare inspector I expect that the node script executes completely before exiting and gathering statistics.
Current Behavior
It seems that in my environment even with a super-simple script with a single console.log the flare inspector considers the node script exiting immediately and does not run the script at all, gathering at the end empty statistics. No errors are thrown.
Steps to Reproduce (for bugs)
Get a MacBook with Apple Silicon/M1
Install with nvm node version 12 or less than 16
Create a simple script
Run clinic flare with the script
The script is not executed and flare exits
Sample upload
// test.jsconsole.log("you'll never see this log!")
clinic flare -- node test.js
Environment
Clinic.js version:
Flare v11.0.0 (0x v5.0.0)
Node.js version:
v12.22.7 (on Rosetta)
Operating system and version:
macOS Monterey 12.1 with M1 chip
The text was updated successfully, but these errors were encountered:
Generating flamegraphs is quite a low level task. I would be very surprised if it worked over Rosetta.
I would be happy to receive a PR to make this happen, however I don't think it's something we have the bandwidth to support given that Node v16 is now LTS.
If you have a commercial need for this we (NearForm) are happy to provide long-term support.
Expected Behavior
When I run the clinic flare inspector I expect that the node script executes completely before exiting and gathering statistics.
Current Behavior
It seems that in my environment even with a super-simple script with a single console.log the flare inspector considers the node script exiting immediately and does not run the script at all, gathering at the end empty statistics. No errors are thrown.
Steps to Reproduce (for bugs)
Sample upload
Environment
Flare v11.0.0 (0x v5.0.0)
v12.22.7 (on Rosetta)
macOS Monterey 12.1 with M1 chip
The text was updated successfully, but these errors were encountered: