Skip to content

New command: verify environment configuration for using the given version of SharePoint Framework #1353

@waldekmastykarz

Description

@waldekmastykarz

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:

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions