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

fix: update lowest node version for the create-vite package #16290

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

flaviusdolca
Copy link

@flaviusdolca flaviusdolca commented Mar 27, 2024

Description

small fix:
Update the lowest node engine for create-vite.

Why?
create-vite will let you create a project even with a node version lower than v18.18.0, but when using a version lower than v18.18.0, you will receive the following error on packages installation:
yarn (error):
error @typescript-eslint/[email protected]: The engine "node" is incompatible with this module. Expected version "^18.18.0 || >=20.0.0". Got "18.17.1"

npm (warning):

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }

Copy link

stackblitz bot commented Mar 27, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@flaviusdolca flaviusdolca changed the title fix: update lowest node version fix: update lowest node version for the create-vite package Mar 27, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant