[wp-trac] [WordPress Trac] #56547: Prevent using npm 7 until gutenberg supports it
WordPress Trac
noreply at wordpress.org
Sun Sep 11 21:29:15 UTC 2022
#56547: Prevent using npm 7 until gutenberg supports it
------------------------------+---------------------
Reporter: jorbin | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: good-first-bug | Focuses:
------------------------------+---------------------
Comment (by rcorrales):
You can test this fix by installing a version > 6:
`npm i -g npm at 7`
Then, when you would get this error when running `npm install`:
{{{
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm:
WordPress at 6.1.0
npm ERR! notsup Not compatible with your version of node/npm:
WordPress at 6.1.0
npm ERR! notsup Required: {"node":">=14.15.0","npm":">=6.14.8 <7"}
npm ERR! notsup Actual: {"npm":"7.24.2","node":"v16.13.0"}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56547#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list