Error when running nextJS demo app (Module not found: Can't resolve 'better-auth')

I'm trying to run the nextJS demo app, but getting this error after pnpm run dev I did the following steps per the README:
git clone https://github.com/better-auth/better-auth
cd better-auth/demo/nextjs
pnpm install
pnpm run dev
git clone https://github.com/better-auth/better-auth
cd better-auth/demo/nextjs
pnpm install
pnpm run dev
No description
Solution:
Got around it by changing package.json to import packages from npm rather than references to the mono repo's workspace: and catalog:.
Jump to solution
1 Reply
Solution
oSk
oSk3mo ago
Got around it by changing package.json to import packages from npm rather than references to the mono repo's workspace: and catalog:.

Did you find this page helpful?