Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shimmer patching breaks on bundled bun code #13165

Open
chargome opened this issue Aug 8, 2024 · 0 comments
Open

Shimmer patching breaks on bundled bun code #13165

chargome opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@chargome
Copy link

chargome commented Aug 8, 2024

What version of Bun is running?

1.1.22-canary.96+df33f2b2a

What platform is your computer?

Darwin 23.5.0 arm64 arm

What steps can reproduce the bug?

Hi! We're running into issues for bun users that want to use Sentry's express instrumentation on bun.

The issue seems to be occur whenever shimmer patches the request module in a bundled bun file:
TypeError: Cannot replace module namespace object's binding with configurable attribute

I have created a minimal reproduction repo with instructions in the readme:
https://github.com/chargome/ex.bun-sentry-express

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant