hey there how to update prisma in my nexus project...
# graphql-nexus
l
hey there how to update prisma in my nexus project, i have 2.7, i want to upgrade to have access to feature findFirst thx 😊
r
@jasonkuhrt can you provide some details? thanks!
j
The latest
nexus-plugin-prisma
already uses Prisma 2.8.1 as a peerDependency - you just need to install that in your project and it should be used.
l
hey @janpio just installed but seems its not working
Copy code
➜  api git:(master) ✗ npx prisma -v                  
Environment variables loaded from prisma/.env
@prisma/cli          : 2.7.0
Current platform     : darwin
Query Engine         : query-engine eaade828a21d8ee3f4940f0af7da3ae0922db4df (at node_modules/@prisma/cli/query-engine-darwin)
Migration Engine     : migration-engine-cli eaade828a21d8ee3f4940f0af7da3ae0922db4df (at node_modules/@prisma/cli/migration-engine-darwin)
Introspection Engine : introspection-core eaade828a21d8ee3f4940f0af7da3ae0922db4df (at node_modules/@prisma/cli/introspection-engine-darwin)
Format Binary        : prisma-fmt eaade828a21d8ee3f4940f0af7da3ae0922db4df (at node_modules/@prisma/cli/prisma-fmt-darwin)
Studio               : 0.287.0
Preview Features     : transactionApi
j
What did you install with what command exactly?
l
i updated nexus-plugin-prisma
with
Copy code
npm i nexus-plugin-prisma
this is my version now
Copy code
"nexus-plugin-prisma": "^0.19.0"
j
You need to update Prisma - it does not ship with a bundled Prisma CLI any more. So @prisma/cli and @prisma/client