tezos-client crashes when ~/.tezos-client/config is broken or empty
$ touch ~/.tezos-client/config
$ ./tezos-client bootstrapped
Error:
Ezjsonm.Parse_error(870828711, "JSON.of_buffer expected JSON text (JSON value)")
It took real long time to find out the cause. The error message must indicate the problem is in config
, not in server-client communication (or anything else).