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?

藏色散人
藏色散人Original
2020-04-05 10:14:213970browse

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

What should I do if the terminal in vscode cannot execute commands?

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

What should I do if the terminal in vscode cannot execute 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 should I do if the terminal in vscode cannot execute commands?

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

What should I do if the terminal in vscode cannot execute commands?

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!

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