Giter VIP home page Giter VIP logo

Comments (4)

franky47 avatar franky47 commented on May 27, 2024

I had the same issue: the distributed package has not been built before publishing (dist is missing).

To solve it locally (not an actual solution), I went into the node_modules/zod-prisma directory, installed its own dependencies (yarn install), and built it in place.

There were a few build errors with coalescing field types into strings, though these may be solved by the Prisma update PR (#38). If not, I'm happy to open a PR to help getting this package up to speed. I've hacked such a solution in the past and this approach (one file per model) seems more elegant.

Edit: See PRs #41 and #42.

from zod-prisma.

CarterGrimmeisen avatar CarterGrimmeisen commented on May 27, 2024

Yep, apologies for this one. I've been swamped with studying for (and taking finals) this weekend so I'm just now getting to work on this. I've pulled the bad version from npm so you won't have that problem again, but I'm working on getting a couple of other fixes and dependency updates in before I push a new version.

Thanks for creating an issue and for helping me improve/fix the package!

from zod-prisma.

CarterGrimmeisen avatar CarterGrimmeisen commented on May 27, 2024

Issue has been resolved with version 0.3.0! Let me know if you have any lingering issues.

from zod-prisma.

franky47 avatar franky47 commented on May 27, 2024

Thanks for the quick release! It's working like a charm on my end.

Best of luck for your exams!

from zod-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.