Visual Studio Code 2017调试角度代码

时间:2019-01-13 20:04:29

标签: node.js angular visual-studio

我使用本教程“ https://youtu.be/DqtKuXFfhsQ”创建了Angular + Nodejs项目。当我想通过“ 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。我该怎么做才能解决我的问题?谢谢

0 个答案:

没有答案