Void
Void copied to clipboard
Failed to compile.
rafael@pop-os:~$ yarn build yarn run v1.22.19 warning ../../../package.json: No license field $ npm-run-all build:schema build:next
[email protected] build:schema prisma generate --schema=prisma/schema.prisma
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (v5.6.0-dev.56) to ./node_modules/@prisma/client in 98ms
Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
See other ways of importing Prisma Client: http://pris.ly/d/importing-client
[email protected] build:next next build
info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5 Failed to compile.
./node_modules/@prisma/client/runtime/library.d.ts:1305:35 Type error: '?' expected.
1303 | 1304 | export declare type GetFindResult<P extends OperationPayload, A> = Equals<A, any> extends 1 ? DefaultSelection<P> : A extends {
1305 | select: infer S extends object; | ^ 1306 | } & Record<string, unknown> | { 1307 | include: infer I extends object; 1308 | } & Record<string, unknown> ? { info - Checking validity of types .ERROR: "build:next" exited with 1. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Broken dependencies, please downgrade prisma to original version.