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
What bundler are you using here? perf_hooks are only available for Node envs (duuh, its serverless :p), and some bundlers defaults to browser environments skipping some of built-in node packages.
I'm using parcel and parcel bundler zip to create lambda packages from typescript. Looks like you're right, parcel is excluding native node modules on build. I've switched away from @sentry/serverless in favour of @sentry/node and it's building fine now. Will continue to use that until perf_hooks is removed from this package or I refactor all the lamdas to use a different packager.
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-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.
The text was updated successfully, but these errors were encountered: