Usage
spfx doctor [options]
Description
Verifies environment configuration for using the specific version of the SharePoint Framework
Options
Doesn't introduce additional options
Additional Information
The command is an equivalent of the yo doctor command provided with Yeoman. Its purpose is to help developers to verify that their machine is correctly configured for using the particular version of the SharePoint Framework.
The command starts with detecting the version of the SharePoint Framework installed either locally, in the current folder, based on package.json, or globally if no local version has been found. Then, it checks if the current version of node, npm, Yeoman and Gulp match the detected SPFx version.
The output is similar to yo doctor but then with checks relevant to SPFx:

Usage
spfx doctor [options]Description
Verifies environment configuration for using the specific version of the SharePoint Framework
Options
Doesn't introduce additional options
Additional Information
The command is an equivalent of the
yo doctorcommand provided with Yeoman. Its purpose is to help developers to verify that their machine is correctly configured for using the particular version of the SharePoint Framework.The command starts with detecting the version of the SharePoint Framework installed either locally, in the current folder, based on
package.json, or globally if no local version has been found. Then, it checks if the current version of node, npm, Yeoman and Gulp match the detected SPFx version.The output is similar to
yo doctorbut then with checks relevant to SPFx: