NG绒毛和NG测试在AWS管道构建步骤中冻结/悬挂

发布于 2025-02-05 00:40:02 字数 101 浏览 4 评论 0原文

最近,我们的AWS Codepipeline中的构建步骤开始在1小时后随着build_timeout失败。在检查日志后,事实证明,最后一个命令运行是NG皮棉,报告了成功,但从未返回控制权。

Recently the build step in our AWS codepipeline started failing with BUILD_TIMEOUT after 1 hour. Upon inspecting the logs, it turns out the last command run was ng lint which reported success but never returned control to bash.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

沙沙粒小 2025-02-12 00:40:02

事实证明,这是因为我们使用npm install -g @angular而无需固定版本。最近开始安装较新版本的Angular -14.0.0-导致冻结。也许这是角度的错误。

我们通过将版本固定到对我们有用的最后一个版本来修复 - npm install -g @angular/ [email  procepted]

It turned out this is because we use npm install -g @angular without pinning the version. This had recently started installing a newer version of Angular - 14.0.0 - which causes the freezing. Perhaps this is a bug in Angular.

We fixed that by pinning the version to the last one which worked for us - npm install -g @angular/[email protected]

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文