Replies: 3 comments 6 replies
-
|
@balazsorban44 if of interest - here's a minimal reproduction of the webpack5 issue. https://github.com/followbl/webpack5-next-auth - just run |
Beta Was this translation helpful? Give feedback.
-
|
still uses that akward |
Beta Was this translation helpful? Give feedback.
-
|
@balazsorban44 or for anyone else that runs across this - |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just realized that having webpack 5 installed as a dependency isn't enough to trigger next.js to build with version 5 if you have a custom
next.config.jsHas anyone be able to get the build to work with a the official
import Adapters from 'next-auth/adapters';as a dependency. I've tried virtually everything but cannot get webpack5 to work...4 works great, but as soon as I enableI get
ModuleNotFoundError: Module not found: Error: Can't resolve 'mongodb'and if I ignore all of the providers...
I get
right at the end of the build...pretty lost, anyone run in to this yet?
Beta Was this translation helpful? Give feedback.
All reactions