Instead of following the installation:-
winget install Schniz.fnm
fnm install 22
node -v # Should print "v22.15.0".
npm -v # Should print "10.9.2".
Use the Windows Installer(.msi) button