Home > Article > Development Tools > What should I do if the terminal in vscode cannot execute commands?
What should I do if the terminal in vscode cannot execute commands?
I want to try the vs code compiler today. After installation, I open the project and want to use the terminal to execute some commands. However, I encountered a pit just after starting, as shown below:
Recommended: " vscode tutorial》
The terminal cannot recognize npm and node? What the hell! So, I checked in cmd and found that
# can be used normally in cmd. After asking around, I finally found the solution. I turned on the compatibility in the vs code attribute. Check Run as administrator, then apply
to restart vs code, and you can run the terminal command!
The above is the detailed content of What should I do if the terminal in vscode cannot execute commands?. For more information, please follow other related articles on the PHP Chinese website!