"After installing node as required and configuring the environment, an error will be reported when using it globally, but it is correct to use it in the installed folder" Solution

node' is not recognized as an internal or external command, operable program (logging only)

This problem occurs, the high probability is that the path is filled in incorrectly in the configuration environment

My Computer --> Right-click, Properties --> Advanced --> Environment Variables --> Username Variables --> Path

According to this path, check whether there is a problem with the internal environment variables.

When I downloaded node, I installed node according to the online post, but after the installation was completed, I found that it could be run in the folder I selected, but there was no way to use it globally. I used win+R and wanted to view it globally. I found the prompt "node' is not an internal or external command, nor is it a runnable program". Later, I found out that I wrote the wrong path in the configuration environment.

Guess you like

Origin blog.csdn.net/TotoroChinchilla/article/details/131091992