Error message for "Invalid Lake configuration" appears for non-config related errors #6827
Labels
error message
Error message produced by Lean is confusing or not informative
P-medium
We may work on this issue if we find the time
See discussion in this Zulip thread.
When the Lean 4 server attempts to set up the environment and experiences an error, it prints the following error message:
It prints this message even if the error it experienced has nothing to do with the configuration file, (e.g. if there is a network error). One can see this by running
$ lake new test math
, then disconnecting from the internet and openingBasic.lean
in VSCode.The error message should be changed to something that better represent the set of possible problems that could give rise to this error.
The text was updated successfully, but these errors were encountered: