0

Let me start off by saying i'm really new to this, so this might be obvious to some of you... I am trying to build my NextJS project but it fails to compile. The errors i'm getting are the following:

./node_modules/openid-client/lib/helpers/deep_clone.js Module not found: Can't resolve 'v8' in ....

and

./node_modules/openid-client/lib/helpers/keystore.js Module not found: Can't resolve 'v8' in...

Both input traces end on the /server/auth.ts file which leads me to suspect that I have messed up the next auth implementation somewhere, but the issue is that i have not added anything beside the boilerplate provided by the t3 stack (besides the env variables and providers).

Thank you very much for your time!

This is the first time i tried to build the project. Everything works fine in dev mode

0 Answers0