Created
March 15, 2022 00:25
-
-
Save oscartbeaumont/b9ebfe7c57f66a369a89dd60219c05fa to your computer and use it in GitHub Desktop.
Prisma Client Rust Bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rust | |
ADD ./run.sh /run.sh | |
RUN chmod +x /run.sh | |
CMD [ "/run.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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