Home › How to fix › Versions
VER002Needs youSPFx 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
- Set every @microsoft/sp-* package to the same exact version (no ^ or ~).
- npm install, then rebuild.
Microsoft articles
- SPFx compatibility reference (Node, React, TypeScript)learn.microsoft.com
- Team-based development on the SharePoint Framework (versions)learn.microsoft.com
In VS Code: right-click the finding → Explain & How to Fix, or use ▶ Fix step by step in the report.