Opened 2 years ago
Closed 2 years ago
#61172 closed defect (bug) (fixed)
Windows jobs for the build tests are failing
| Reported by: | johnbillion | Owned by: | desrosj |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | Build/Test Tools | Version: | 6.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
See https://github.com/WordPress/wordpress-develop/actions/runs/9005687539/attempts/3 . The Windows jobs are failing with the following error:
Error: Cannot find module 'C:\npm\prefix\node_modules\npm\bin\npm-cli.js'
Change History (5)
This ticket was mentioned in PR #6530 on WordPress/wordpress-develop by @desrosj.
2 years ago
#1
- Keywords has-patch added
#2
@
2 years ago
- Keywords commit added
- Milestone Awaiting Review → 6.6
- Owner set to
- Status new → assigned
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
There appears to be a regression in Node.js 20.13.0 for Windows (see https://github.com/nodejs/node/issues/52884).
This is causing the Windows test builds to fail.
check-latestwas only ever meant to be a temporary band-aid, and was added when the minimum version of Node.js was bumped. The latest version at that time was used, and some of the GitHub Action runners did not yet have the correct version. This ensured a version that met the newenginesrequirements was reliably installed.Trac ticket: https://core.trac.wordpress.org/ticket/61172