/node_modules/@sentry/serverless/esm/awslambda.js:4:28: Cannot resolve dependency 'perf_hooks'
2 | import { addExceptionMechanism } from '@sentry/utils';
3 | import { hostname } from 'os';
> 4 | import { performance } from 'perf_hooks';
| ^
5 | import { types } from 'util';
6 | const { isPromise } = types;
7 | /**
error Command failed with exit code 1.
Tried upgrading to 525.0 beta versions and downgrading to 5.23.0 and the same error exists on build.
Package + Version
@sentry/browser@sentry/noderaven-jsraven-node(raven for node)Version:
Description
It appears that the bug referenced in #2523 and #2522 and fixed in #2495 was not fixed for the @sentry/serverless library.
Tried upgrading to 525.0 beta versions and downgrading to 5.23.0 and the same error exists on build.