SPFX Pretty

Home › How to fix › Versions

VER002Needs you

SPFx packages on mixed, pre-release or ranged versions

Why it matters

All @microsoft/sp-* packages must be exactly the same version. Ranges (^) and release candidates cause hard-to-trace build problems.

How to fix

  1. Set every @microsoft/sp-* package to the same exact version (no ^ or ~).
  2. npm install, then rebuild.
In VS Code: right-click the finding → Explain & How to Fix, or use ▶ Fix step by step in the report.