Make WordPress Core

Opened 3 months ago

Closed 3 months ago

#61172 closed defect (bug) (fixed)

Windows jobs for the build tests are failing

Reported by: johnbillion's profile johnbillion Owned by: desrosj's profile desrosj
Milestone: 6.6 Priority: normal
Severity: normal Version: 6.6
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

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.


3 months 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
3 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.6
  • Owner set to desrosj
  • Status changed from new to assigned

#4 @desrosj
3 months ago

  • Keywords commit removed

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

#5 @desrosj
3 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.