[Better Auth]: Couldn't read your auth config. Error: Cannot find module '$app/paths'

Has anyone else had this issue (see title) when running the npx @better-auth/cli generate cli command on SvelteKit? I can't figure out how to fix this issue.
Solution
Duki, as mentioned by @KiNFiSH you probably need to remove any import that is called using sveltekit conventions and the run it. that's what I had to do
Was this page helpful?