美文网首页
The serve command requires to be

The serve command requires to be

作者: 小棋子js | 来源:发表于2021-09-07 20:19 被阅读0次

启动新创建的Angular报错:The serve command requires to be run in an Angular project, but a project definition could not be found

1.新下载下来的一个项目;首先要有angular脚手架安装
安装成功看下版本号
ng version
本地跟全局要对应
2.如果上面一步做到了;还出现如题错误;说明
没有angular.json文件;或者是有angular-cli.json文件

相关文章

网友评论

      本文标题:The serve command requires to be

      本文链接:https://www.haomeiwen.com/subject/vkbpwltx.html