Skip to content

Instantly share code, notes, and snippets.

@oscartbeaumont
Created March 15, 2022 00:25
Show Gist options
  • Save oscartbeaumont/b9ebfe7c57f66a369a89dd60219c05fa to your computer and use it in GitHub Desktop.
Save oscartbeaumont/b9ebfe7c57f66a369a89dd60219c05fa to your computer and use it in GitHub Desktop.
Prisma Client Rust Bug
FROM rust
ADD ./run.sh /run.sh
RUN chmod +x /run.sh
CMD [ "/run.sh" ]
#!/bin/bash
git clone https://github.com/Brendonovich/prisma-client-rust.git
cd prisma-client-rust
cargo install --path ./cli
cd examples/simple/
prisma-client-rust generate
# Expected Output:
# > Downloading Prisma engines for Node-API for debian-openssl-1.1.x [========= ] 45%Error: File or directory '/**/node_modules/prisma/node_modules/@prisma/engines/prisma-fmt-debian-openssl-1.1.x' was not included into executable at compilation stage. Please recompile adding it as asset or script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment