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
Hi! I was able to run the application locally, but when I login with google account the error below occurred.
[auth][error] AdapterError: Read more at https://errors.authjs.dev#adaptererror
web:dev: [auth][cause]: TypeError: Cannot read properties of undefined (reading 'prepare')
web:dev: at SQLiteD1Session.prepareQuery (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/d1/session.js:29:30)
web:dev: at SQLiteD1Session.prepareOneTimeQuery (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/sqlite-core/session.js:76:17)
web:dev: at SQLiteSelectBase._prepare (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/sqlite-core/query-builders/select.js:586:88)
web:dev: at SQLiteSelectBase.get (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/sqlite-core/query-builders/select.js:604:17)
web:dev: at getUserByAccount (webpack-internal:///(rsc)/../../node_modules/@auth/drizzle-adapter/lib/sqlite.js:124:18)
web:dev: at acc.<computed> (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/lib/init.js:178:30)
web:dev: at Module.callback (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/lib/actions/callback/index.js:53:39)
web:dev: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
web:dev: at async AuthInternal (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/lib/index.js:39:24)
web:dev: at async Auth (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/index.js:126:34)
web:dev: [auth][details]: {}
web:dev: [auth][error] AdapterError: Read more at https://errors.authjs.dev#adaptererror
web:dev: [auth][cause]: TypeError: Cannot read properties of undefined (reading 'prepare')
web:dev: at SQLiteD1Session.prepareQuery (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/d1/session.js:29:30)
web:dev: at SQLiteD1Session.prepareOneTimeQuery (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/sqlite-core/session.js:76:17)
web:dev: at SQLiteSelectBase._prepare (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/sqlite-core/query-builders/select.js:586:88)
web:dev: at SQLiteSelectBase.get (webpack-internal:///(rsc)/../../node_modules/drizzle-orm/sqlite-core/query-builders/select.js:604:17)
web:dev: at getUserByAccount (webpack-internal:///(rsc)/../../node_modules/@auth/drizzle-adapter/lib/sqlite.js:124:18)
web:dev: at acc.<computed> (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/lib/init.js:178:30)
web:dev: at Module.callback (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/lib/actions/callback/index.js:53:39)
web:dev: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
web:dev: at async AuthInternal (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/lib/index.js:39:24)
web:dev: at async Auth (webpack-internal:///(rsc)/../../node_modules/next-auth/node_modules/@auth/core/index.js:126:34)
web:dev: [auth][details]: {}
web:dev: ⨯ Error [TypeError]: immutable
I've tried to debug adding the debug: true flag to next-auth but there was only not useful information.
From this part web:dev: [auth][details]: {} somehow the data is empty and I think the drizzle adaptor is causing this error.
Actually, I'm new to drizzle too ;-(
How can I solve this error?
The text was updated successfully, but these errors were encountered:
Hi! I was able to run the application locally, but when I login with google account the error below occurred.
I've tried to debug adding the
debug: true
flag to next-auth but there was only not useful information.From this part
web:dev: [auth][details]: {}
somehow the data is empty and I think the drizzle adaptor is causing this error.Actually, I'm new to drizzle too ;-(
How can I solve this error?
The text was updated successfully, but these errors were encountered: