Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The solution of not using Terminal Command in vscode

Shulou Source: shulou.com Published: 2022-06-02 17:14:52 09月30日 Update

This article will explain in detail the solution to the inability to use terminal commands in vscode. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

What if vscode cannot be used?

Vs code terminal commands cannot use workarounds

Today, I want to try the vs code compiler. After installation, I open the project and want to execute some commands with the terminal. However, I encountered a pit at the beginning, as shown in the following figure:

The terminal does not recognize npm and node? What the hell! So, I went to cmd and found that cmd can be used normally.

After probing around, we finally found a solution. Turn on the compatibility in the vs code attribute, check to run as administrator, and then apply

Restart vs code and you can run the terminal command!

This is the end of this article on "the solution to not using terminal commands in vscode". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Terminal command method article more run good practical compatibility content quartet attribute start what to do article scheme knowledge administrator compiler solution Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MySQL macOS Apple Huawei