question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Prisma client generation

See original GitHub issue

Prisma generates its client logic during postinstall and outputs it to node_modules/.prisma (using ${__dirname}/../../.prisma).

This does not work with zip-it-and-ship-it due to the reason outlined here.

We should add some logic to support Prisma’s use case.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
timsuchanekcommented, May 4, 2020

Thanks a lot @ehmicky for looking into this. I can confirm that this is indeed working now!

0reactions
ehmickycommented, May 4, 2020

This has been released in @netlify/zip-it-and-ship-it@0.4.0-16. Could you please confirm this is fixing your problem? When you do, I will release this to production.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generating the client (Concepts) - Prisma
This page explains how to generate Prisma Client. It also provides additional context on the generated client, typical workflows and Node.js configuration.
Read more >
Prisma Client
Prisma Client is an auto-generated, type-safe query builder generated based on the models and attributes of your Prisma schema.
Read more >
Generators (Reference) - Prisma
A generator determines which assets are created when you run the prisma generate command. The main property provider defines which Prisma Client (language ......
Read more >
Prisma Client - Auto-generated query builder for your data
Prisma is a next-generation ORM that can be used to build GraphQL servers, ... From simple reads to complex nested writes, the Prisma...
Read more >
Prisma | Next-generation ORM for Node.js & TypeScript
Prisma is a next-generation Node.js and TypeScript ORM for PostgreSQL, MySQL, SQL Server, SQLite, MongoDB, and CockroachDB. It provides type-safety, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found