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

MongoDB not always working with NextJS #1

Closed
levijackson opened this issue Feb 7, 2021 · 1 comment
Closed

MongoDB not always working with NextJS #1

levijackson opened this issue Feb 7, 2021 · 1 comment

Comments

@levijackson
Copy link
Owner

levijackson commented Feb 7, 2021

More often than not, this error shows up and prevents logging in.

[next-auth][error][oauth_callback_handler_error] 
https://next-auth.js.org/errors#oauth_callback_handler_error Error: no optional dependency [mongodb] defined in peerOptionalDependencies in any package.json

Related to:
nextauthjs/next-auth#552

@levijackson
Copy link
Owner Author

Switched to using MySQL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant