Skip to content

gulp build && ng build --configuration production fails on windows-latest #12417

@SoftSailor

Description

@SoftSailor

Description

Today (18/6/2025) we discovered that suddenly our master build is no longer building on windows-latest. The last command which is executed is "gulp build && ng build --configuration production".
We are getting error messages like '2025-06-18T11:51:54.6119702Z Error: src/app/reports/edit-add-checklist-report/step4/checklist-report-step4.component.ts:113:17 - error TS2345: Argument of type 'RecipientContactOptionDto[]' is not assignable to parameter of type 'never'.
2025-06-18T11:51:54.6120011Z
2025-06-18T11:51:54.6120315Z 113 _remove(this.recipients, (r) => r.id === recipient.id && r.recipientType == recipient.recipientType);
2025-06-18T11:51:54.6120768Z ~~~~~~~~~~~~~~~"

Last time the build has run succesfully was Friday 13/6/2025.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

==============================================================================
2025-06-18T11:46:39.0277183Z Task : npm
2025-06-18T11:46:39.0277282Z Description : Install and publish npm packages, or run an npm command. Supports npmjs.com and authenticated registries like Azure Artifacts.
2025-06-18T11:46:39.0277537Z Version : 1.248.1
2025-06-18T11:46:39.0277642Z Author : Microsoft Corporation
2025-06-18T11:46:39.0277771Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/npm
2025-06-18T11:46:39.0277939Z ==============================================================================

Is it regression?

Yes

Expected behavior

Build should run succesfully

Actual behavior

2025-06-18T11:51:54.6119702Z Error: src/app/reports/edit-add-checklist-report/step4/checklist-report-step4.component.ts:113:17 - error TS2345: Argument of type 'RecipientContactOptionDto[]' is not assignable to parameter of type 'never'.
2025-06-18T11:51:54.6120011Z
2025-06-18T11:51:54.6120315Z 113 _remove(this.recipients, (r) => r.id === recipient.id && r.recipientType == recipient.recipientType);
2025-06-18T11:51:54.6120768Z ~~~~~~~~~~~~~~~

Repro steps

gulp build && ng build --configuration production

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions