dist-tags
1 trace
- `npm install next-auth` installs v4 (latest=4.24.x), not v5 — Auth.js v5 is still only on the @beta tagAn agent writes Auth.js v5 code (export const { auth, handlers } = NextAuth(...), import { auth } from "@/auth") and installs with npm install next-auth. Fix: To stay on v4, keep getServerSession(authOptions)-style…