T3 stack issues with auth

Getting the following error. I can't find any resources online for it
[next-auth][error][adapter_error_getSessionAndUser] 
https://next-auth.js.org/errors#adapter_error_getsessionanduser Cannot read properties of undefined (reading 'findUnique') {
  message: "Cannot read properties of undefined (reading 'findUnique')",
  stack: "TypeError: Cannot read properties of undefined (reading 'findUnique')\n" +
    '    at getSessionAndUser (/home/hycord/code/typescript/web/banappeals/node_modules/@next-auth/prisma-adapter/dist/index.js:24:52)\n' +
    '    at _callee2$ (/home/hycord/code/typescript/web/banappeals/node_modules/next-auth/core/errors.js:365:29)\n' +
    '    at tryCatch (/home/hycord/code/typescript/web/banappeals/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)\n' +
    '    at Generator.<anonymous> (/home/hycord/code/typescript/web/banappeals/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)\n' +
    '    at Generator.next (/home/hycord/code/typescript/web/banappeals/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)\n' +
    '    at asyncGeneratorStep (/home/hycord/code/typescript/web/banappeals/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)\n' +
    '    at _next (/home/hycord/code/typescript/web/banappeals/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)\n' +
    '    at /home/hycord/code/typescript/web/banappeals/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7\n' +
    '    at new Promise (<anonymous>)\n' +
    '    at /home/hycord/code/typescript/web/banappeals/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12',
  name: 'TypeError'
}
}
Was this page helpful?