The spfx doctor only supports text mode. By default, CLI uses the JSON output mode, and when you try to use the spfx doctor command, it fails with an error saying that you should use the JSON output instead. We should extend the command to support JSON output as well.
The
spfx doctoronly supports text mode. By default, CLI uses the JSON output mode, and when you try to use thespfx doctorcommand, it fails with an error saying that you should use the JSON output instead. We should extend the command to support JSON output as well.