node is not recognizing command prompt error
node not recognized error so set the path in environment variables both system and user variable & checked it still not working so uninstalled it and followed the steps set the path. restated the system and comand prompt again no progress
2
Answers
nodejs has a great page explaining how to install for windows, linux and macos,
just go here and follow the instructions.
then just do the same thing you did last time (restart the system, add node to the path) and it should work.
in case it doesn’t, you either did something wrong, or that this is a nodejs error, in that case you can create an issue on their github page
In Windows, you need to set node.js folder path into system variables or user variables.
open Control Panel -> System and Security -> System -> Advanced System Settings -> Environment Variables
in "User variables" or "System variables" find variable PATH and add node.js folder path as value. Usually it is C:Program Filesnodejs;. If variable doesn’t exists, create it.
Restart your IDE or computer.
It is useful add also "npm" and "Git" paths as variable, separated by semicolon.
or
open the command prompt and type in
SET PATH=C:Program FilesNodejs;%PATH%