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
Release: 2020-06-06 14:33:40
Original
5054 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template