...wp-content\plugins> npx @WordPress/create-block@latest preset-block-bindings --template @block-developer-cookbook/preset-block-bindings
Minimum system requirements not met!
Error: Wanted npm version >=10.2.3 (>=10.2.3)
The program may not complete correctly if you continue.
Are you sure you want to continue anyway? No
Cancelled.
To install npm, run npm install -g npm@>=10.2.3
...wp-content\plugins> npm --version
11.2.0
According to me version 11 is newer then 10.x so I do not understand the error message
...wp-content\plugins> npx @WordPress/create-block@latest preset-block-bindings --template @block-developer-cookbook/preset-block-bindings
Minimum system requirements not met!
Error: Wanted npm version >=10.2.3 (>=10.2.3)
The program may not complete correctly if you continue.
Are you sure you want to continue anyway? No
Cancelled.
To install npm, run npm install -g npm@>=10.2.3
...wp-content\plugins> npm --version
11.2.0
According to me version 11 is newer then 10.x so I do not understand the error message
Share Improve this question edited Mar 23 at 16:00 Pat J 12.5k2 gold badges28 silver badges36 bronze badges asked Mar 23 at 10:15 Roelof WobbenRoelof Wobben 112 bronze badges1 Answer
Reset to default 1Try running it with --yes or -y to automatically accept the warning:
npx @WordPress/create-block@latest preset-block-bindings --template @block-developer-cookbook/preset-block-bindings --yes
Or downgrade npm temporarily.
npm install -g [email protected]
As I can see, you're using version 11.2.0 (which is newer).