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
[next-auth][error][adapter_connection_error] DriverPackageNotInstalledError #154
Comments
|
hey @Riglanto! any update here? :) |
Sorry for the delay @lindsaylevine
|
@Riglanto hey there, apologies this hasn't been given attention in awhile :/. i think it's because realistically we haven't had the time to dig into a package-specific issue (like next-auth) that would require us to go out of our way to grab secrets and whatnot. did you end up just using the workaround? |
@lindsaylevine yes, I moved to Vercel platform. |
@Riglanto I came across the same issue and the fix was to explicitly require the mongodb package in [...nextauth].ts
Hope this helps! |
I spoke to customer server for netlify. Horrible and not willing to help or walk you through. I even payed for multiple domains here. This is the last time I am ever using Netlify for anything. Moving ALL of my domains to vercel. Netlify is a heap of garbage. |
Describe the bug
Please include a repo to reproduce your issue if you can!
To Reproduce
Issue: incorrect or missing library. Build/deploy is successful. The issue occurs on calling the api function.
Technical reason: Next-auth peer dependency is typeorm in latest aka buggy version.
Workaround: Force typeorm version via “resolutions” setting in package.json.
Probably cause: Resolutions form package.json are ignored.
Result on netlify - see the error log below.
Result on local env, Vercel - works with resolutions hack.
Versions
Initially posted on: https://community.netlify.com/t/driverpackagenotinstallederror/29063
The text was updated successfully, but these errors were encountered: