Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@auth/solid-start install fails with ERESOLVE #12236

Open
maximemoreillon opened this issue Nov 14, 2024 · 0 comments
Open

@auth/solid-start install fails with ERESOLVE #12236

maximemoreillon opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@maximemoreillon
Copy link

maximemoreillon commented Nov 14, 2024

Environment

  System:
    OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
    Memory: 6.39 GB / 15.48 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
    bun: 1.0.1 - ~/.bun/bin/bun```

Reproduction URL

https://github.com/maximemoreillon/vocabulary

Describe the issue

Hello

Thank you very much for Auth.js, it has been working wonderfully for muliple of my Next.js apps.

I've now been wanting to use it on a SolidStart application I'm building and followed the instructions here. However, the first step, i.e. running npm i @auth/solid-start fails with the following error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: example-basic@undefined
npm ERR! Found: @solidjs/[email protected]
npm ERR! node_modules/@solidjs/meta
npm ERR!   @solidjs/meta@"^0.29.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @solidjs/meta@"^0.28.0" from [email protected]
npm ERR! node_modules/solid-start
npm ERR!   peer solid-start@"^0.2.14" from @auth/[email protected]
npm ERR!   node_modules/@auth/solid-start
npm ERR!     @auth/solid-start@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /home/moreillon/.npm/_logs/2024-11-14T04_21_06_556Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/moreillon/.npm/_logs/2024-11-14T04_21_06_556Z-debug-0.log

I apologize if I'm doing something wrong but could anyone please tell me what version of Solid/SolidStart I should work with?

How to reproduce

Create a SolidStart project with the following package.json:

{
  "name": "example-basic",
  "type": "module",
  "scripts": {
    "dev": "vinxi dev --host",
    "build": "vinxi build",
    "start": "vinxi start",
    "version": "vinxi version",
  },
  "dependencies": {
    "@solidjs/meta": "^0.29.4",
    "@solidjs/router": "^0.13.3",
    "@solidjs/start": "^1.0.0",
    "solid-js": "^1.8.17",
    "vinxi": "^0.4.1"
  },
}

and then run

npm install @auth/solid-start

Expected behavior

@auth/solid-start should get installed

@maximemoreillon maximemoreillon added bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant