-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
error: workspace dependency "@auth/core" not found with latest beta version #10073
Comments
I am happy to know who can show off the v5 release roadmap please. |
I'm having the same issue with bun and npm, temp fix to lock it at |
The cause I think is dependency wrong https://www.npmjs.com/package/next-auth/v/5.0.0-beta.12?activeTab=code
|
Installing of 5.0.0-beta.11 solves the issue. Seem like this is the root cause of it
|
I think you're right. Here is a targeted workaround, for pnpm, that allowed me to update to 5.0.0-beta.12: package.json: {
"pnpm": {
"overrides": {
"next-auth@5.0.0-beta.12>@auth/core@workspace:*": "0.27.0"
}
}
} The following may work for npm: {
"overrides": {
"next-auth@5.0.0-beta.12": {
"@auth/core": "0.27.0"
}
}
} and the following may be the best one can do for bun: {
"overrides": {
"@auth/core": "0.27.0"
}
} |
Add this to package.json if you are using pnpm.
|
Remove the existing node_module -> next_auth package using the command below Add the code below in your package.json
Save your package.json file and then install the module using the below command |
Sorry for the trouble, I fixed it in https://www.npmjs.com/package/next-auth/v/5.0.0-beta.13?activeTab=code |
Thank you! |
Environment
next-auth: beta
Reproduction URL
https://github.com/lobehub/lobe-chat
Describe the issue
try with bun:
but failed with
workspace dependency "@auth/core" not found
How to reproduce
git clone https://github.com/lobehub/lobe-chat
bun i
Expected behavior
install deps suceessful
The text was updated successfully, but these errors were encountered: