Home >Development Tools >VSCode >Solve the problem that vscode cannot use the ng command

Solve the problem that vscode cannot use the ng command

hzc
hzcOriginal
2020-06-06 13:28:335065browse

Solve the problem that vscode cannot use the ng command

Solution to the problem that vscode cannot use the ng command:

Error reporting when using the ng add command in vscode

1. The error message is as follows

Solve the problem that vscode cannot use the ng command

2. Solution:

Right-click the Start button in the lower left corner and select Windows PowerShell (Administrator) (A)
After opening, execute the set-ExecutionPolicy RemoteSigned command and enter A, as shown in the following figure:

Solve the problem that vscode cannot use the ng command

Then execute the ng command.

Recommended tutorial: "VSCode Tutorial"

The above is the detailed content of Solve the problem that vscode cannot use the ng command. 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