sentry-wizard icon indicating copy to clipboard operation
sentry-wizard copied to clipboard

Running "npx @sentry/wizard@latest -i remix" does not populate Sentry.init

Open bcoe opened this issue 1 year ago • 1 comments

Environment

$ node --version
v20.11.1
$ npx @sentry/wizard@latest --version
Need to install the following packages:
@sentry/[email protected]

Steps to Reproduce

  1. Ran npx @sentry/wizard@latest -i remix on a remix project.
  2. Walked through wizard.
  3. Observe that Sentry.init() isn't called anywhere in the code that's populated.

Expected Result

React project is configured such that it will start sending errors up to Sentry.

Actual Result

Deployed the application and was confused because it was not configured to send errors to Sentry.

bcoe avatar Apr 10 '24 19:04 bcoe

Hey @bcoe thanks for writing in and apologies for the late reply!

This sounds a bit off and definitely shouldn't happen. The wizard should add Sentry.init calls to entry.client.tsx as well as entry.server.tsx as outlined in our manual setup instructions. I know it's been a while but do you by any chance recall if you got any warnings during the wizard run? Is your remix project set up somehow (vastly) different from a default remix project?

Lms24 avatar May 28 '24 07:05 Lms24

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Sep 28 '24 07:09 getsantry[bot]