You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using plugins in betterauth it breaks trpc , here are the errors i got
The inferred type of 'appRouter' cannot be named without a reference to '../../auth/node_modules/better-auth/dist/shared/better-auth.B955zZIT'. This is likely not portable. A type annotation is necessary.
Exported variable 'appRouter' has or is using name 'OAuthProxyOptions' from external module "~/Desktop/Git-Projects/PROJECT/node_modules/.pnpm/[email protected][email protected]_@[email protected]_@[email protected]_babel-plugin_980c5e2cfd658cc38be409e61a8bed76/node_modules/better-auth/dist/plugins/oauth-proxy/index" but cannot be named.
The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
just the t3 turbo plugins cause this error
Exported variable 'appRouter' has or is using name 'OAuthProxyOptions' from external module "~/Desktop/Git-Projects/PROJECT/node_modules/.pnpm/[email protected][email protected]_@[email protected]_@[email protected]_babel-plugin_980c5e2cfd658cc38be409e61a8bed76/node_modules/better-auth/dist/plugins/oauth-proxy/index" but cannot be named.
and removing the user schema additions removes the error
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when using plugins in betterauth it breaks trpc , here are the errors i got
just the t3 turbo plugins cause this error
and removing the user schema additions removes the error
here is my better auth config
here is what is needed to fix the errors
how can i fix these issues without a loss of functionality
Beta Was this translation helpful? Give feedback.
All reactions