[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
?