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
{{ message }}
Repository navigation
sentry-prune-profiler-binaries does not recognize NodeJS 22 as a valid major node version #14488
As part of my webpack build for my lambda I copy the sentry profile binaries from the Sentry node package ('./node_modules/@sentry/profiling-node/lib/sentry_cpu_profiler-*.node') and strip them with the command:
This command used to be --target_node=20, but with AWS Lambda supporting v22 I changed it to v22.
However, the command gives as output: ❌ Sentry: Invalid node version passed as argument, please make sure --target_node is a valid major node version. Supported versions are 16, 18 and 20.
As NodeJS become LTS last month, I was expecting the pruner to have support for this. Hopefully it is only a matter of adding the integer to the code.
Activity