next-auth says no V8???

I'm using next-auth with next 12 and I get this error. Has anyone ever encountered it? My next libraries' versions are: "next": "^12.2.0", "next-auth": "4.15.1", and node is: v16.15.0
9 Replies
dan
dan•3y ago
What node version are you using? Newer Nextauth versions require v16+
Aviv
AvivOP•3y ago
My next libraries' versions are: "next": "^12.2.0", "next-auth": "4.15.1", and node is: v16.15.0
Yiannis
Yiannis•2y ago
Hey there, did you find a solution to this? I'm having the same problem!
Lopen
Lopen•2y ago
Have you tried deleting your node module folder and running
npm i
npm i
afresh
Yiannis
Yiannis•2y ago
Yeah, even tried deploying on vercel
Yiannis
Yiannis•2y ago
This is what i get
Yiannis
Yiannis•2y ago
Turns out I just need to npm I v8 😂 I tried to install openid-client but I didn’t v8 for some reason 😂
Aviv
AvivOP•2y ago
wow that was your solution? i can't believe it, i'm not sure i was crazy enough to try XD
Yiannis
Yiannis•2y ago
i still think about it and cant believe it worked!
Want results from more Discord servers?
Add your server