Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nexus-plugin-prisma@0.23.1 does not support @prisma/client@2.10.2 #1437

Open
gustawdaniel opened this issue Nov 7, 2020 · 0 comments
Open
Labels
type/feat Add a new capability or enhance an existing one

Comments

@gustawdaniel
Copy link

[INFO] 14:11:40 ts-node-dev ver. 1.0.0 (using ts-node ver. 9.0.0, typescript ver. 4.0.5)
Warning: nexus-plugin-prisma@0.23.1 does not support @prisma/client@2.10.2. The supported range is: `2.10.0`. This could lead to undefined behaviors and bugs.
ReferenceError: schema is not defined
    at Object.definition (/media/nvme/pro/ocr/backend/api/graphql.ts:286:24)
    at SchemaBuilder.walkOutputType (/media/nvme/pro/ocr/backend/node_modules/@nexus/schema/src/builder.ts:1432:9)
    at SchemaBuilder.walkTypes (/media/nvme/pro/ocr/backend/node_modules/@nexus/schema/src/builder.ts:648:16)
    at SchemaBuilder.getFinalTypeMap (/media/nvme/pro/ocr/backend/node_modules/@nexus/schema/src/builder.ts:800:10)
    at makeSchemaInternal (/media/nvme/pro/ocr/backend/node_modules/@nexus/schema/src/builder.ts:1546:92)
    at Object.makeSchema (/media/nvme/pro/ocr/backend/node_modules/@nexus/schema/src/builder.ts:1585:49)
    at Object.<anonymous> (/media/nvme/pro/ocr/backend/api/schema.ts:5:23)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Module._compile (/media/nvme/pro/ocr/backend/node_modules/source-map-support/source-map-support.js:547:25)
    at Module.m._compile (/tmp/ts-node-dev-hook-39238478059409565.js:57:33)
[ERROR] 14:11:44 ReferenceError: schema is not defined
^Cmake: *** [Makefile:50: up] Interrupt

How to migrate nexus-plugin-prisma?

@gustawdaniel gustawdaniel added the type/feat Add a new capability or enhance an existing one label Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feat Add a new capability or enhance an existing one
Projects
None yet
Development

No branches or pull requests

1 participant