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

prisma --version crashes if openssl isn't properly installed #14014

Closed
jkomyno opened this issue Jun 27, 2022 · 1 comment · Fixed by #13737 or #14053
Closed

prisma --version crashes if openssl isn't properly installed #14014

jkomyno opened this issue Jun 27, 2022 · 1 comment · Fixed by #13737 or #14053
Assignees
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. topic: prisma version CLI: prisma version or -v topic: ssl
Milestone

Comments

@jkomyno
Copy link
Contributor

jkomyno commented Jun 27, 2022

Compare prisma --version on a system where openssl is properly installed, with the same command on another system where openssl isn't available.

With proper openssl installation

prisma --version

image

Without openssl support

prisma --version

image

Proposed Solution

Regardless of the errors that might arise while reading the versions and hashes of every internal package and engine prisma depends on, we should still try to display a table of all the versions we retrieved to stdout, and the list of possible errors we accumulated into stderr. If at least one error arises, let the process terminate with exit code 1, but only after displaying a version table as complete as possible.

@jkomyno jkomyno self-assigned this Jun 27, 2022
@jkomyno jkomyno added bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. labels Jun 27, 2022
@jkomyno
Copy link
Contributor Author

jkomyno commented Jun 27, 2022

Closed by #13737.

@jkomyno jkomyno closed this as completed Jun 27, 2022
@Jolg42 Jolg42 modified the milestones: 4.0.0, 4.1.0 Jun 27, 2022
@Jolg42 Jolg42 reopened this Jun 27, 2022
@janpio janpio added topic: ssl topic: prisma version CLI: prisma version or -v labels Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. topic: prisma version CLI: prisma version or -v topic: ssl
Projects
None yet
3 participants