Home › How to fix › Versions
VER004Needs youTypeScript outside the supported range
Why it matters
The SPFx build only supports certain TypeScript versions.
How to fix
- Install a TypeScript version inside the range shown.
Microsoft articles
- SPFx compatibility reference (Node, React, TypeScript)learn.microsoft.com
In VS Code: right-click the finding → Explain & How to Fix, or use ▶ Fix step by step in the report.