node.js, is installed on windows 10, but using the command node-v npm-v on cmd will cause an error: "node" is not an internal or external command, nor is it a runnable program or batch file.
but using the command node-v position NPM-v on powershell is fine, but if I look at commands such as vue-v politics yarn-v, I will also report: "node" is not an internal or external command, nor is it a runnable program or batch file.
when you install nodejs, a node command propt entry is generated in the start menu
everything is normal to use this, but I don"t know how to cd to the specified file directory to execute various commands, which is very troublesome.
Why can"t various commands of npm be used directly in cmd before?
Please advise if you have any similar problems!