0
...wp-content\plugins> npx @WordPress.org/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

1 Answer 1

1

Try running it with --yes or -y to automatically accept the warning:

npx @WordPress.org/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).

3
  • Thanks, I know my version is newer so that is why I do not understand the error message. I tried the downgrade to 10.2.3 but then I see the same error message as before. Very strange Commented Mar 25 at 6:12
  • The tool is probably checking the version of npm that was originally bundled with your node installation, not the one you just upgraded/downgraded with npm install -g.. If the version check is part of an npm script using engines, you can bypass it --ignore-engines.. like npx --ignore-existing @wordpress/create-block@latest preset-block-bindings --template @block-developer-cookbook/preset-block-bindings. Good luck! Commented Mar 25 at 9:33
  • oke, then I hope I can find out if create-block is using engines or that I have to change something in local , made by wp-engine Commented Mar 25 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.