Make WordPress Core

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

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-latest was 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 new engines requirements was reliably installed.

Trac ticket: https://core.trac.wordpress.org/ticket/61172

#2 @desrosj
2 years ago

  • Keywords commit added
  • Milestone Awaiting Review6.6
  • Owner set to desrosj
  • Status newassigned

#4 @desrosj
2 years ago

  • Keywords commit removed

This was fixed by [58120], I mistakenly included the wrong ticket number.

#5 @desrosj
2 years ago

  • Resolutionfixed
  • Status assignedclosed
Note: See TracTickets for help on using tickets.