prisma --version
crashes if openssl
isn't properly installed
#14014
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
Compare
prisma --version
on a system whereopenssl
is properly installed, with the same command on another system whereopenssl
isn't available.With proper
openssl
installationprisma --version
Without
openssl
supportprisma --version
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 tostdout
, and the list of possible errors we accumulated intostderr
. If at least one error arises, let the process terminate with exit code1
, but only after displaying a version table as complete as possible.The text was updated successfully, but these errors were encountered: