Categories
JavaScript Answers

How to fix ‘node’ is not recognized as an internal or external command error?

Spread the love

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.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *