[wp-trac] [WordPress Trac] #56658: Make build process compatible with newer versions of NodeJS/npm

WordPress Trac noreply at wordpress.org
Wed Oct 11 21:54:13 UTC 2023


#56658: Make build process compatible with newer versions of NodeJS/npm
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  6.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------

Comment (by benharri):

 This is latest trunk as of r56831 and node 18 lts. Seems that npm v9 is
 the blocker.

 {{{
 $ npm ci
 npm ERR! code EBADENGINE
 npm ERR! engine Unsupported engine
 npm ERR! engine Not compatible with your version of node/npm:
 WordPress at 6.4.0
 npm ERR! notsup Not compatible with your version of node/npm:
 WordPress at 6.4.0
 npm ERR! notsup Required: {"node":">=16.19.1","npm":">=8.19.3 <9"}
 npm ERR! notsup Actual:   {"npm":"9.6.4","node":"v18.12.1"}

 $ node -v
 v18.12.1

 $ npm -v
 9.6.4
 }}}

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


More information about the wp-trac mailing list