Skip to content
Discussion options

You must be logged in to vote

Hi @AkshayPathak! We ship the query engine binary with Studio, so I can definitely help you with this.

First things first, you want to make sure that you generate Prisma Client against your schema BEFORE packaging your app. It is possible to generate Client on the fly (like we do in Studio), but that process is a lot more involved. In your case, I'm assuming you do not need to support multiple schemas, so it'll probably be easier to generate Client up front.

Now that you have everything ready to be pacjaged, you should know that executables inside an ASAR archive cannot work. Normally, electron-builder (if you use it) automatically "unpacks" any executables to an app.asar.unpacked folder.…

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
4 replies
@AkshayPathak
Comment options

@vladejs
Comment options

@vladejs
Comment options

@sdnts
Comment options

Answer selected by AkshayPathak
Comment options

You must be logged in to vote
1 reply
@MitchellMonaghan
Comment options

Comment options

You must be logged in to vote
1 reply
@annettaws
Comment options

Comment options

You must be logged in to vote
3 replies
@kaleem-Durrani
Comment options

@DubG1
Comment options

@kaleem-Durrani
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants