Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon How can I verify if my Node.js and NPM versions are compatible with @wordpress/create-block
    Node.js NPM compatibility @wordpress/create-block WordPress development environment


How can I verify if my Node.js and NPM versions are compatible with @wordpress/create-block


To verify if your Node.js and NPM versions are compatible with `@wordpress/create-block`, follow these steps:

1. Open a Terminal Window:
- Open a terminal window on your system.

2. Check Node.js Version:
- Type `node -v` and press Enter. This will display the installed version of Node.js. Ensure it is higher than version 14[1].

3. Check NPM Version:
- Type `npm -v` and press Enter. This will display the installed version of NPM. Ensure it is higher than version 6.14.4[1].

4. Verify Compatibility:
- If both Node.js and NPM versions meet the requirements, you are ready to use `@wordpress/create-block`. If not, you may need to update your Node.js and NPM versions to ensure compatibility[1][3].

By following these steps, you can verify that your Node.js and NPM versions are compatible with `@wordpress/create-block` and ensure a smooth development experience.

Citations:
[1] https://wpdevelopment.courses/articles/wordpress-create-block/
[2] https://github.com/WordPress/gutenberg/issues/38793
[3] https://github.com/WordPress/gutenberg/issues/20142
[4] https://developer.wordpress.org/block-editor/getting-started/devenv/nodejs-development-environment/
[5] https://stackoverflow.com/questions/75870844/why-isnt-wordpress-create-block-working