LoginSignup
0
0

@sidebase/nuxt-auth + @next-auth/prisma-adapter で getUserByAccount is not a function エラー

Last updated at Posted at 2024-04-08

環境

  • prisma 5.12.0
  • @sidebase/nuxt-auth 0.7.0
  • @next-auth/prisma-adapter 0.4.4-canary.81

エラー

上記サイトに従ってPrismaAdapterを設定後、ログイン時にこのエラーが発生した

解決

上記サイトで指定のあるカナリアリリース@next-auth/prisma-adapter@canaryはバージョンが古かった。
@next-auth/prisma-adapter@latestでインストールし直したところ、1.0.7で問題が解決した。

関連する記事

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0