node.js - 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 中不起作用。我应该怎么做才能修复我的问题?谢谢
解决方案
推荐阅读
- java - java lambda中的中断语句
- netty - 与 Netty 处理程序相比,使用 LMAX Disruptor 进行事件处理会降低性能
- python - 如何让机器人显示它删除的消息的内容
- webpack - 启动项目的Webpack不同版本问题
- arrays - 如何在golang中压缩字符串并返回字节数组
- java - 求和运算期间 Cloud Firestore 中的值重复
- ios - 尽管 Apple 语言代码在 UserDefaults 中设置为 en,但 iOS 英语数字会自动更改为阿拉伯语
- prometheus - 查询最近 1 分钟的平均响应时间
- c# - 使用 .net/c# 对 Web 服务/SOAP 服务设置/应用安全策略
- python - Python for 循环;将输入打印到 14 行中。随机数