首页 > 解决方案 > Visual Studio Code 2017 调试角码

问题描述

我使用本教程创建了 Angular + Nodejs 项目:“ https://youtu.be/DqtKuXFfhsQ ”。当我想通过“ng serve”在 Visual Studio Code 2017 中调试项目时,Studio Code 告诉我:

D:/ ... "SOME PATH"> ng serve
ng : The term 'ng' is not recognized as the name of a cmdlet, function, script file, or operable p
rogram. Check the spelling of the name, or if a path was included, verify that the path is correct
 and try again.
At line:1 char:1
+ ng serve
+ ~~
    + CategoryInfo          : ObjectNotFound: (ng:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

在 PowerSheel 中工作 ng serve --open,但在 Visual Studio Code 中不起作用。我应该怎么做才能修复我的问题?谢谢

标签: node.jsangularvisual-studio

解决方案


推荐阅读