发生未处理的异常:项目目标不存在
I have a problem when I write:
ionic cordova prepare android،
Knowing that this is happening with every new project I create.
Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该问题是由
angular.json
文件中缺少所需的构建器引起的。要安装这些构建器,请运行:您应该获得类似于以下内容的输出:
之后,继续运行您的构建。
The problem is caused by required builders that are missing from the
angular.json
file. To install those builders, run:You should get an output similar to this:
After that, go ahead and run your build.
Ionic CLI v6.19.0 已发布,并修复了此问题:
GitHub 上的错误报告:
https://github.com/ionic-team/ionic- Framework/issues/24940#issuecomment-1068016921
Ionic CLI v6.19.0 has been released with this fix:
bug report on GitHub:
https://github.com/ionic-team/ionic-framework/issues/24940#issuecomment-1068016921