You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sentry/gatsby has a peer dependency on gatsby@"^2.0.0 || ^3.0.0" but ^4.0.0 is out
To repro, setup a package.json with just latest gatsby and @sentry/gatsby, using node 16 or later. Try npm install without running --force or --legacy-peer-deps; it errors with:
npm ERR! node_modules/gatsby
npm ERR! gatsby@"^4.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer gatsby@"^2.0.0 || ^3.0.0" from @sentry/gatsby@6.13.3
npm ERR! node_modules/@sentry/gatsby
npm ERR! @sentry/gatsby@"^6.13.3" from the root project```
The text was updated successfully, but these errors were encountered:
Yup we should be supporting this. The longer term solution is to have integration tests similar to what we have for nextjs so we can check for breakage, but to unblock for now, @iker-barriocanal do you mind testing Gatsby v4 + the sdk to see if we can bump the peer dep?
Package + Version
Version:
Description
@sentry/gatsby has a peer dependency on gatsby@"^2.0.0 || ^3.0.0" but ^4.0.0 is out
To repro, setup a package.json with just latest gatsby and @sentry/gatsby, using node 16 or later. Try
npm install
without running --force or --legacy-peer-deps; it errors with:The text was updated successfully, but these errors were encountered: