Skip to content

9.18.0 introduces a dependency on a public repository which fails on machines without Git installed #16281

Closed
@raglan-road

Description

@raglan-road

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

9.18.0

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  • Install or update Sentry to 9.18.0 on a VM without Git installed. For example, the nodejs Alpine linux distro.
  • Run an npm install or a build.
  • When the Sentry package attempts to install the @fastify/otel dependency, it does so using Git, which isn't there, so the install fails.

Expected Result

Sentry is able to load its dependencies and the build succeeds or the requirement for Git to be installed on the target machine is documented as a potentially breaking change.

Actual Result

The build fails when the Sentry package attempts to install its dependency on the forked version of @fastify/otel as it installs via Git, which does not necessarily exist on the target machine.

Rolling back to 9.16.1 fixes the issue as the new dependency isn't there.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions