Skip to content

Improve unsupported --spfx-version error message#249

Draft
chid wants to merge 1 commit intoSharePoint:mainfrom
chid:spfx-version-error
Draft

Improve unsupported --spfx-version error message#249
chid wants to merge 1 commit intoSharePoint:mainfrom
chid:spfx-version-error

Conversation

@chid
Copy link
Copy Markdown

@chid chid commented Apr 15, 2026

Description

  • convert missing official SPFx version refs into a targeted --spfx-version error
  • list the currently available values in the error message: latest (1.22) and next (1.23.0-beta)
  • add test coverage for the unsupported-version path and include a change file

Type of change

  • Bug fix
  • New feature / enhancement
  • Template change
  • Documentation / CI / governance

Questions

Should this be dynamic? Would be needed to update each version bump if it isn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant