-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Meta: Help WantedPackage: gatsbyIssues related to the Sentry Gatsby SDKIssues related to the Sentry Gatsby SDK
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/gatsby
SDK Version
7.20.1
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
Similar to #4107
Have a package.json with just gatsby and @sentry/gatsby - it fails to install with npm
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"@sentry/gatsby": "^7.20.1",
"gatsby": "^5.1.0"
}
}
Expected Result
sentry/gatsby has Gatsby 5 as a supported peer dependency and installs clean
i.e. gatsby@"^2.0.0 || ^3.0.0 || ^4.0.0" becomes gatsby@"^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
Actual Result
npm WARN node_modules/gatsby
npm WARN gatsby@"^5.1.0" from the root project
npm WARN 5 more (@sentry/gatsby, babel-plugin-remove-graphql-queries, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer gatsby@"^2.0.0 || ^3.0.0 || ^4.0.0" from @sentry/[email protected]
npm WARN node_modules/@sentry/gatsby
npm WARN @sentry/gatsby@"^7.20.1" from the root project
rjoonas, tohalla and bzarboni1
Metadata
Metadata
Assignees
Labels
Meta: Help WantedPackage: gatsbyIssues related to the Sentry Gatsby SDKIssues related to the Sentry Gatsby SDK