-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Can't install next-auth when next 13 is installed #5705
Comments
Since, #5657 has not been released, npm still matches |
Just an FYI - for now you can use the --force flag and it will install it anyway. I've tested locally and it works. Not ideal if you need it for production, but if your project is still in dev phase you can probably get away with it until next-auth bring out a compatible version. |
+1 |
Do you have any solution for pnpm? Seems like ignoring any given flag and it installs |
No sorry, I unfortunately don't have much experience with pnpm. Is it interchangeable with npm the way yarn is? If so, perhaps you could just temporarily switch to npm until next-auth release a compatible version? |
@jeffaus solved temporarly by installing |
Environment
System:
OS: Linux 5.4 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
CPU: (4) x64 Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Memory: 3.32 GB / 7.77 GB
Container: No
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 18.10.0 - /usr/local/share/nvm/current/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 8.19.2 - /usr/local/share/nvm/current/bin/npm
npmPackages:
next: ^13.0.1 => 13.0.1
react: ^18.2.0 => 18.2.0
Reproduction URL
N/A
Describe the issue
Installation of
next-auth
fails when next v13.0.1 is already installed.How to reproduce
Run
npm i next-auth
in a project with next 13.0.1 already installed.Expected behavior
Should install.
The text was updated successfully, but these errors were encountered: