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

Vercel deploy fails because of sentry's confusing instructions #46

Open
absolutegravitas opened this issue Sep 7, 2024 · 2 comments
Open

Comments

@absolutegravitas
Copy link

See getsentry/sentry-cli#2137 (comment)

v1.run vercel deploy doesn't build and deploy onto vercel out of the box because of this confusing and inactionable message from sentry. I've attempted package updates on @sentry/nextjs to no effect.

Also general feedback for midday crew -- imo monitoring / logging env vars shouldnt be mandatory for example / template repos. Conditional checks should be added to test for null envs and bypass that feature in the v1 template.

@pontusab
Copy link
Contributor

pontusab commented Sep 7, 2024

Thanks for your feedback! We have a nice change coming: #45 where you can init a bare project (nextjs + supabase) and a full example with sentry etc, or you can add services as you want with pre-made implementaitons + envs

@jaaneh
Copy link

jaaneh commented Sep 9, 2024

For anyone looking at this in the future, the SENTRY_AUTH_TOKEN env var needs to be a token you create on this page. Once that's set up, re-deploy the app, and that should fix the "Invalid token" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants