Better Auth Next.js example does not work
Running
npx convex dev --once in the examples/next directory results in these errors:
9 Replies
Run
npm run build in the repo rootnow the error is different, should I start from a fresh clone of the git repo?

hmm that's pretty strange, not sure whether a fresh clone will help but worth a shot
have you used other package managers in your repo clone, like pnpm or bun?
recommend using npm for everything with this repo
no I haven't, but I might have run something extra in an attempt to fix the package issue
Happens on a fresh clone as well
can you paste the content of
/dist/esm/package.json here
is it because I'm on windows
not even sure how that happens, that's like a js string in a json file
will try on mac
it's possible