faro-web-sdk icon indicating copy to clipboard operation
faro-web-sdk copied to clipboard

unmet peer @opentelemetry/api@">=1.3.0 <1.8.0": found 1.8.0

Open MatthewHerbst opened this issue 1 year ago • 0 comments

Description

When npm i is run, npm installs @opentelemetry/[email protected] since this matches the semver requirement of @grafana/faro-core. However, this then conflicts with the peer dependency requirement of @opentelemetry/otlp-transformer

Steps to reproduce

Expected behavior

There should be no peer dependency warnings

Actual behavior

There are peer dependency warnings

Environment

  • @grafana/faro-web-sdk: v1.7.3
  • OS: MacOS Sonoma 14.5
  • Node: v20.5.1
  • pnpm: 8.6.0

Demo

(Installed using pnpm)

Screenshot 2024-05-29 at 4 35 31 PM

MatthewHerbst avatar May 30 '24 00:05 MatthewHerbst