Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Failed to compile. #57

@0x72616661656C

Description

@0x72616661656C

rafael@pop-os:~$ yarn build
yarn run v1.22.19
warning ../../../package.json: No license field
$ npm-run-all build:schema build:next

void@0.5.1 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

void@0.5.1 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

: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions