Skip to content

Conversation

@comeca-ai
Copy link

Updated the import statement from 'better-auth/nextjs' to 'better-auth/integrations/nextjs' to align with the correct better-auth package structure.

Updated the import statement from 'better-auth/nextjs' to 'better-auth/integrations/nextjs' to align with the correct better-auth package structure.
@comeca-ai
Copy link
Author

Olá! Este PR corrige o caminho de importação do better-auth que estava causando problemas no deploy. A mudança de 'better-auth/nextjs' para 'better-auth/integrations/nextjs' alinha com a estrutura atual do pacote better-auth.

Por favor, considerem fazer o merge desta correção para aplicar a solução no deploy e resolver os problemas de importação.

Obrigado!

@adrianoresende
Copy link

There is a bug during install, so adding - fixes it.
import { toNextJsHandler } from 'better-auth/next-js';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants