Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MissingAdapterMethods: Required adapter methods were missing: getAccount, getAuthenticator, createAuthenticator, listAuthenticatorsByUserId, updateAuthenticatorCounter. #10927

Open
pulgueta opened this issue May 15, 2024 · 0 comments
Labels
adapters Changes related to the core code concerning database adapters bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@pulgueta
Copy link

Adapter type

@auth/drizzle-adapter

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
    Memory: 6.77 GB / 15.92 GB
  Binaries:
    Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.0.1 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: 1.1.8 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @auth/drizzle-adapter: ^1.1.0 => 1.1.0
    next: ^14.2.3 => 14.2.3
    next-auth: ^5.0.0-beta.18 => 5.0.0-beta.18
    react: latest => 18.3.1

Reproduction URL

https://github.com/pulgueta/OSS-Interviewer

Describe the issue

DrizzleAdapter used to work just fine with my app, but now that I'm updating some stuff and trying to add my custom schemas, now it appears a bug when running the development server saying there's missing adapters in the "adapter" which in theory is already packed with the adapters method so that is blocking me from even seeing my app live.
image

How to reproduce

  1. Clone repo
  2. Install dependencies with bun install
  3. Run bun dev

Expected behavior

Should work just fine without any warnings and shouldn't fail when passing custom schemas.

@pulgueta pulgueta added adapters Changes related to the core code concerning database adapters bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapters Changes related to the core code concerning database adapters bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant