Home>Article>Development Tools> What to do if vscode cannot use terminal commands
What should I do if vscode cannot be used?
Solution to why the vs code terminal command cannot be used
I want to try the vs code compiler today. After installing it, I open the project and want to use the terminal to execute some commands, but I encountered this problem just after I started. Pitfall, as shown below:
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!
Recommended tutorial:vscode tutorial
The above is the detailed content of What to do if vscode cannot use terminal commands. For more information, please follow other related articles on the PHP Chinese website!