-
Notifications
You must be signed in to change notification settings - Fork 37
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
Cannot find package '_sentry-debug-id-injection-stub' #445
Comments
Hi, which esbuild version are you using? |
@lforst Hi 👋 |
I unfortunately cannot reproduce. Could you provide a small reproduction repo or stackblitz or similar so we can debug this further? Thanks! |
Sure, here's reproduction Run it using |
Hi, I believe this is because we only really support esbuild with |
Yeah, probably 👍 This is quite common use case when using Remix with express server. |
I am also encountering this issue. I followed |
@seeARMS Fair feedback. I opened a PR to at least log a warning, and we will also update the wizard to warn you about this. |
Environment
MacOS
NodeJS with Remix framework and esbuild bundler
"@sentry/esbuild-plugin": "^2.10.1"
Steps to Reproduce
"build:server": "tsx ./other/build-server.ts",
Content of
./other/build-server.ts
Run server
Expected Result
It should start up the server.
Actual Result
It crashes with
When i open the main built file, it looks like this
That line
import "_sentry-debug-id-injection-stub";
is not any package that can be installed. From what I understood from the your source code, it should be replaced, but it isn'tThe text was updated successfully, but these errors were encountered: