sentry-wizard
sentry-wizard copied to clipboard
Running "npx @sentry/wizard@latest -i remix" does not populate Sentry.init
Environment
$ node --version
v20.11.1
$ npx @sentry/wizard@latest --version
Need to install the following packages:
@sentry/[email protected]
Steps to Reproduce
- Ran
npx @sentry/wizard@latest -i remixon a remix project. - Walked through wizard.
- 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.
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?
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 🥀