[英]No projects support the 'serve' target. Stuck and can't run Angular project on my localhost
I've tried to fork an angular project from GitHub, and run it with ng serve.我尝试从 GitHub 分叉一个 Angular 项目,并使用 ng serve 运行它。 But I get the error "No project support the 'serve' target".
但我收到错误“没有项目支持'服务'目标”。 I'm really stuck and don't know what to do.
我真的被困住了,不知道该怎么办。 I'm new to Angular, does anyone know what to do?
我是Angular的新手,有人知道该怎么做吗? My intent would be that of running the project on my localhost so I can see how the code functions.
我的意图是在我的本地主机上运行项目,这样我就可以看到代码是如何运行的。 Any help would be appreciated, thank you in advance
任何帮助将不胜感激,在此先感谢您
Try this尝试这个
npm install -g angular-cli
then然后
npm start
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.