Angularjs   发布时间:2022-04-20  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了You have to be inside an angular-cli project in order to use the serve command --angular4大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

错误

解决

按照下面这篇博客操作后还是有问题
【Angular4】You have to be inside an Angular CLI project in order to use the serve command
于是请来了大神,几个命令解决了,步骤:删除node库,重装npm;命令依次输入npm install rimraf -g ; rimraf node_modules ; npm install,如下图
然后再输入ng serve,启动成功。

大佬总结

以上是大佬教程为你收集整理的You have to be inside an angular-cli project in order to use the serve command --angular4全部内容,希望文章能够帮你解决You have to be inside an angular-cli project in order to use the serve command --angular4所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。