Home >Development Tools >VSCode >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
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:
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!