Adding admin plugin causes "The inferred type of this node exceeds the maximum length the compiler"
When I add the
admin
plugin to my list of plugins it results in the error:
3 Replies
I'm on
1.2.8
and I don't think it has anything to do with this specific plugin, just that it pushes it over the edge (if I remove other plugins, it goes back to normal for example)Can I see your tsconfig?
I had the same issue, created an issue in Github with configs and version number details
https://github.com/better-auth/better-auth/issues/3067
GitHub
TypeScript Error: "The inferred type of this node exceeds the maxim...
Is this suited for github? Yes, this is suited for github To Reproduce import { betterAuth } from 'better-auth' import { admin, organization } from 'better-auth/plugins' export cons...