Git Product home page Git Product logo

Comments (12)

frontendphil avatar frontendphil commented on July 30, 2024 7

Does this ticket need renaming to "Support for prisma ^5.0.0"? :)

from nexus-prisma.

rostislav-simonik avatar rostislav-simonik commented on July 30, 2024 2

@ewodev I'm going to cut the release in two/three weeks. I don't have access to the publish token directly, so I'll stabilize the main branch and I'll cut it from there.

from nexus-prisma.

mehdyouras avatar mehdyouras commented on July 30, 2024 1

prisma 5.0.0 removed rejectOnNotFound. No way of using nexus-prisma with 5.0.0 then. It's a small fix.

from nexus-prisma.

mAAdhaTTah avatar mAAdhaTTah commented on July 30, 2024

I installed with Prisma@4 using --legacy-peer-deps and haven't run into issues. I suspect if the package.json was updated to allow this, it would mostly work fine.

from nexus-prisma.

ewodev avatar ewodev commented on July 30, 2024

@rostislav-simonik can we just remove the peer dependency in the meantime? Some App hosting providers automatically install the dependencies without allowing you to add the --legacy-peer-deps flag

from nexus-prisma.

valajczech avatar valajczech commented on July 30, 2024

So what is the solution here? Bump prisma back to 3.x.x ?
Does not work on 4.13.0.

from nexus-prisma.

mehdyouras avatar mehdyouras commented on July 30, 2024

Upgrade nexus-prisma to 2.0.1

from nexus-prisma.

valajczech avatar valajczech commented on July 30, 2024

I have it on 2.0.1.
I tried various version combinations, in all of them the same issue - socket hang up and missing peer dependency @prisma/client, even though it is installed.

from nexus-prisma.

rostislav-simonik avatar rostislav-simonik commented on July 30, 2024

@valajczech can you please create a minimalistic repo that replicates your case? That would give us more context to provide you support.

from nexus-prisma.

rostislav-simonik avatar rostislav-simonik commented on July 30, 2024

But [email protected] is only for [email protected], so you would need to go back to [email protected], I don't recall which [email protected] is needed for 4.13.0

if, for some reason, you would like to stick with [email protected]then go with [email protected] + [email protected]

from nexus-prisma.

rostislav-simonik avatar rostislav-simonik commented on July 30, 2024

but your issue can originate from a different root cause, that's why better to provide a replicable repo if those versions won't help.

from nexus-prisma.

valajczech avatar valajczech commented on July 30, 2024

Thank you for your time, @rostislav-simonik.
I will try to create the repo asap and will let you know.

Of course I understand that, but I suspect the issue comes from nexus-prisma, since prior installing and using the plugin, everything ran ok.

Thank you.

from nexus-prisma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.