Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.57.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.onLoad(() => {
Sentry.init({
enabled: import.meta.env.PROD,
dsn,
release,
});
});
Steps to Reproduce
Install @sentry-cli and @sentry/vite-plugin with bun and try to run it. Works fine when installed with npm ci, but does not work with bun.
Expected Result
Sourcemaps get generated and uploaded to sentry.
Actual Result
Error: spawn /Users/xxx/Projects/xxx/node_modules/@sentry/cli/sentry-cli ENOENT