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

Environment version mismatch #2492

Open
eli-l opened this issue Oct 18, 2024 · 1 comment
Open

Environment version mismatch #2492

eli-l opened this issue Oct 18, 2024 · 1 comment

Comments

@eli-l
Copy link
Contributor

eli-l commented Oct 18, 2024

Expected behavior

npm i should successfully resolve and install all the dependencies using the same environment as Stencil CLI (v8.4.0).

Actual behavior

Node v20.18.0

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@bigcommerce/[email protected]',
npm warn EBADENGINE required: { node: '>=14.0.0 <19.0.0' },
npm warn EBADENGINE current: { node: 'v20.18.0', npm: '10.8.2' }
npm warn EBADENGINE }

Stencil CLI 8.4.0 defines Node >=18, however one of the requirements "@bigcommerce/stencil-styles": "^6.1.1" requires Node >=20

Steps to reproduce behavior

  • n 20 (install Node v20 required by Stencil CLI)
  • npm i
@eli-l
Copy link
Contributor Author

eli-l commented Oct 18, 2024

The solution is to update the "@bigcommerce/stencil-utils": "6.15.1", to "@bigcommerce/stencil-utils": "6.18.0", so it supports the Node >= 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant