[wp-trac] [WordPress Trac] #64618: Playground Node.js engine requirement broke Core WP builds

WordPress Trac noreply at wordpress.org
Mon Feb 9 22:29:41 UTC 2026


#64618: Playground Node.js engine requirement broke Core WP builds
------------------------------+------------------------------
 Reporter:  bpayton           |       Owner:  youknowriad
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by bpayton):

 @youknowriad, it would be great if Playground did not have to coordinate
 Node.js version compatibility with Core, but I'm not sure if that is
 reasonable to avoid.

 Given that `wp-env` uses `npx` to launch `@wp-playground/cli`, we could
 technically remove the declared dependency from the `wp-env` package.json
 to avoid engine version conflicts based on package.json. But `wp-env`
 users on Node.js 20.x won't be able to use the Playground mode unless they
 upgrade to a Playground-compatible Node.js version.

 It's technically possible that Playground could fall behind Core's
 required Node.js version, but it seems unlikely because Playground is
 constantly needing to leverage bleeding-edge JS runtime features.

 Do you have any thoughts on what the best course would be?

 cc @zieladam for visiblity

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64618#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list