Skip to content

Vercel: Auth token not provided causes failed deployΒ #4383

@D-Pagey

Description

@D-Pagey

Environment

  • Using Sentry Saas
  • "@sentry/nextjs": "6.16.1"

Steps to Reproduce

βœ… yarn build locally works fine
πŸ›‘ yarn build on Vercel fails due to auth token

Expected Result

  • Successful deploy

Actual Result

Screenshot 2021-12-13 at 10 12 30

Questions

  • The solution is to provide an auth token via environment variables which contradicts the autogenerated comment saying not to do that

Screenshot 2021-12-13 at 10 11 55

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions