1. Open the Visual Studio Code properties panel and switch to the [Compatibility] tab;
2. Check the box [Run this program as administrator] option.
The above is the detailed content of What should I do if vscode cannot execute the node command?. For more information, please follow other related articles on the PHP Chinese website!