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
./src/server/auth.ts:49:5
Type error: Type 'import("/Users/x/Code/lead-generator/node_modules/@auth/core/adapters").Adapter' is not assignable to type'import("/Users/x/Code/lead-generator/node_modules/next-auth/adapters").Adapter'.
Types of property 'createUser' are incompatible.
Type '((user: AdapterUser) => Awaitable<AdapterUser>) | undefined' is not assignable to type'((user: Omit<AdapterUser, "id">) => Awaitable<AdapterUser>) | undefined'.
Type '(user: AdapterUser) => Awaitable<AdapterUser>' is not assignable to type'(user: Omit<AdapterUser, "id">) => Awaitable<AdapterUser>'.
Types of parameters 'user' and 'user' are incompatible.
Property 'id' is missing intype'Omit<AdapterUser, "id">' but required intype'AdapterUser'.
47 | })
48 | },
> 49 | adapter: DrizzleAdapter(db, mysqlTable),
| ^
50 | providers: [
51 | GoogleProvider({
52 | clientId: env.GOOGLE_CLIENT_ID,
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Creating a plain standard t3 app with drizzle ORM:
npm create t3-app@latest
◇ What will your project be called?
│ dbtest
│
◇ Will you be using TypeScript or JavaScript?
│ TypeScript
│
◇ Will you be using Tailwind CSS for styling?
│ Yes
│
◇ Would you like to use tRPC?
│ Yes
│
◇ What authentication provider would you like to use?
│ NextAuth.js
│
◇ What database ORM would you like to use?
│ Drizzle
│
◇ EXPERIMENTAL Would you like to use Next.js App Router?
│ Yes
│
◇ Should we initialize a Git repository and stage the changes?
│ Yes
│
◇ Should we run 'npm install'for you?
│ Yes
│
◇ What import alias would you like to use?
│ ~/
Using: npm
✔ dbtest scaffolded successfully!
Additional information
No response
The text was updated successfully, but these errors were encountered:
Provide environment information
System:
OS: macOS 14.2.1
CPU: (10) arm64 Apple M1 Pro
Memory: 1.24 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.2.3 - /opt/homebrew/bin/npm
Describe the bug
Getting following error in building:
Reproduction repo
https://github.com/t3-oss/create-t3-app
To reproduce
Creating a plain standard t3 app with drizzle ORM:
Additional information
No response
The text was updated successfully, but these errors were encountered: