Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ビルドに失敗する問題を修正 #14

Closed
ogadra opened this issue Apr 23, 2023 · 0 comments · Fixed by #15
Closed

ビルドに失敗する問題を修正 #14

ogadra opened this issue Apr 23, 2023 · 0 comments · Fixed by #15

Comments

@ogadra
Copy link
Contributor

ogadra commented Apr 23, 2023

docker composeコマンドでのビルド実行時、下記エラーが発生した。

 => ERROR [voice-notify-bot-migrate 5/5] RUN yarn generate                                                                                                             2.5s
------                                                                                                                                                                      
 > [voice-notify-bot-migrate 5/5] RUN yarn generate:                                                                                                                        
#0 0.497 yarn run v1.22.19                                                                                                                                                  
#0 0.543 $ prisma generate                                                                                                                                                  
#0 2.071 Environment variables loaded from .env                                                                                                                             
#0 2.074 Prisma schema loaded from src/prisma/schema.prisma                                                                                                                 
#0 2.441 Error: Unable to require(`/app/node_modules/prisma/libquery_engine-linux-musl.so.node`)
#0 2.441  Error loading shared library libssl.so.1.1: No such file or directory (needed by /app/node_modules/prisma/libquery_engine-linux-musl.so.node)
#0 2.466 error Command failed with exit code 1.
#0 2.466 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
failed to solve: executor failed running [/bin/sh -c yarn generate]: exit code: 1

=> こちらを参考にエラーを解消することができる。

RUN apk add --update --no-cache openssl1.1-compat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant