Error generating schema
So whenever I try to generate my schema (Using prisma)
I get the error in the image. I tried to generate the schema on a lot of my better-auth projects but in vain.

5 Replies
(node:10508) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
npm ERR! cb.apply is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\you\AppData\Roaming\npm-cache_logs\2025-04-12T16_23_57_931Z-debug.log
Install for [ '@better-auth/cli@latest' ] failed with code 1
@bekacru could you please help me fix this issue?can you try a diffrent pkg manager?
pnpm dlx
or bunx
I tried bunx but still not working

error: Script not found "@better-auth/cli@latest"
I'm currently tring pnpm dlx
pnpm dlx is working but the rest isn't working
Thank you so much for your help ❤️