SPFX Pretty

Home › How to fix › Versions

VER005Guided fix

Node version not declared or unsupported

Why it matters

Without engines.node or .nvmrc people build with whatever Node they have, causing "works on my machine" problems.

How to fix

  1. Apply the fix to add engines.node, or add a .nvmrc file.
  2. Match the Azure DevOps NodeTool task to the same version.
In VS Code: right-click the finding → Apply Fix…, or use ▶ Fix step by step in the report.