Home  >  Article  >  Development Tools  >  What to do if vscode cannot use terminal commands

What to do if vscode cannot use terminal commands

藏色散人
藏色散人Original
2019-11-14 09:52:253685browse

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:

What to do if vscode cannot use terminal commands

The terminal cannot recognize npm and node? What the hell! So, I checked in cmd and found that

What to do if vscode cannot use terminal commands

# 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

What to do if vscode cannot use terminal commands

to restart vs code, and you can run the terminal command!

What to do if vscode cannot use terminal commands

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn