Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update required node version to v20 #1264

Open
1 task done
peterwilsoncc opened this issue Sep 3, 2024 · 0 comments
Open
1 task done

Update required node version to v20 #1264

peterwilsoncc opened this issue Sep 3, 2024 · 0 comments
Labels
help wanted type:bug Something isn't working.
Milestone

Comments

@peterwilsoncc
Copy link
Collaborator

Describe the bug

Since updating wp-env, an npm install is triggering a warning of an incompatible engine:

$ npm i
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@wordpress/[email protected]',
npm WARN EBADENGINE   required: { node: '>=18.12.0', npm: '>=8.19.2' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }

This can be resolved by updating the nvmrc file to version 20.

Steps to Reproduce

  1. Checkout the develop branch
  2. Run nvm use or equivalent to ensure the node version in use matches that defined in the config file
  3. Run npm i
  4. Observe the engine warning.

Screenshots, screen recording, code snippet

No response

Environment information

  • macOS 14.6.1
  • Distributor develop @ 14f4247

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@peterwilsoncc peterwilsoncc added the type:bug Something isn't working. label Sep 3, 2024
@jeffpaul jeffpaul added this to the 2.1.0 milestone Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted type:bug Something isn't working.
Projects
Status: To Do
Development

No branches or pull requests

2 participants