-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
@sentry/remix not working when installed through Sentry Wizard #551
Comments
Hi @hoffnung8493, thanks for the report. This issue will be fixed by, getsentry/sentry-javascript#10811 and #543. Should be released soon. |
We released JS SDK https://github.com/getsentry/sentry-javascript/releases/tag/7.106.0 - we can make the wizard changes now! |
We'll do a sentry wizard release early next week to take care of this - thank you for your patience while we fix @hoffnung8493!! |
Btw, it would be great if you guys also update the docs on uploading sourcemaps in Remix section. Remix's Vite is stable now, and is the suggested way to build Remix. Now with Vite, uploading sourcemaps and even release management can be done with |
Also sentry wizard could go a few steps further and implement sourcemap upload and release update.
Then you could give examples on how to make this work in typical CICD pipelines. Below would be the Github action workflow example, I just have to provide these variables as env, so that
Then for the actual build files
|
Great idea about the docs @hoffnung8493 - opened getsentry/sentry-docs#9411 to track. We released the wizard changes in https://github.com/getsentry/sentry-wizard/releases/tag/v3.21.0, so closing this issue, let's track rest of work in that docs issue. |
Thanks to @onurtemizkan - some fancy new vite/remix docs! https://docs.sentry.io/platforms/javascript/guides/remix/sourcemaps/#using-vite-plugin-recommended |
Environment
node v21.6.2
Steps to Reproduce
create brand new remix vite project (current latest is 2.8.0)
npx create-remix@latest --template remix-run/remix/templates/vite-express
configure sentry with Sentry Wizard, where remix project is already created in Sentry
npx @sentry/wizard@latest -i remix
npm run dev
should start the server but it crashes with these logs:The text was updated successfully, but these errors were encountered: