当我在节点js命令提示符上运行ng serve
时,我得到了这个错误"serve命令需要在Angular项目中运行,但找不到项目定义";。在我向ng update @angular/cli --migrate-only --from=11.2.10
运行此命令后,也出现了此错误。出现了未处理的异常:找不到package.json参见";C: \Users\User\AppData\Local\Temp\ng Lbnxei\angular errors.log"了解更多详细信息。
有人能帮我吗
像这样尝试
ng update @angular/cli --from 10 --to 11 --migrate-only
这是错误的语法--from=11.2.10