better-auth/cli generate not working
PS C:\Users\x\Desktop\x\frontend> npx @better-auth/cli generate
npm ERR! cb.apply is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\x\AppData\Roaming\npm-cache_logs\2025-07-30T14_19_26_631Z-debug.log
Install for [ '@better-auth/cli@latest' ] failed with code 1
How can I solve this?
1 Reply
Solution
Used Pnpm and it works