To fix ‘node’ is not recognized as an internal or external command error, we add the Node executable folder to the PATH environment variable.
For instance, we run
SET PATH=C:\Program Files\Nodejs;%PATH%
to add the Node executable folder to the PATH with SET on Windows.