Skip to content

npm peer dependency conflict in @sentry/solidstart for new solidStart project #18368

@inventarSarah

Description

@inventarSarah

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/solidstart

SDK Version

10.27.0

Framework Version

@solidjs/start@1.2.0

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. set up a new SolidStart test project following this guide (used Typescript and basic template)
  2. project runs as expected
  3. run npm install @sentry/solidstart --save

Expected Result

The package installs in my project.

Actual Result

The installation fails with the following output:

npm warn ERESOLVE overriding peer dependency
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @sentry/solidstart@10.27.0
npm error Found: @solidjs/router@0.15.4
npm error node_modules/@solidjs/router
npm error   peerOptional @solidjs/router@"^0.13.4" from @sentry/solid@10.27.0
npm error   node_modules/@sentry/solidstart/node_modules/@sentry/solid
npm error     @sentry/solid@"10.27.0" from @sentry/solidstart@10.27.0
npm error     node_modules/@sentry/solidstart
npm error       @sentry/solidstart@"*" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional @solidjs/router@"^0.13.4" from @sentry/solidstart@10.27.0
npm error node_modules/@sentry/solidstart
npm error   @sentry/solidstart@"*" from the root project
npm error
npm error Conflicting peer dependency: @solidjs/router@0.13.6
npm error node_modules/@solidjs/router
npm error   peerOptional @solidjs/router@"^0.13.4" from @sentry/solidstart@10.27.0
npm error   node_modules/@sentry/solidstart
npm error     @sentry/solidstart@"*" from the root project

Additional Context

I used yarn to install the package instead

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions