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

Installation error: error [email protected]: The engine "node" is incompatible #17256

Closed
MrsBookik opened this issue Jun 5, 2024 · 1 comment
Labels
area/cli area/project-creation Related to project creation process using the commands: `yarn create quasar` and `npm init quasar` bug/1-hard-to-reproduce A reproduction is available, but it's hard to reproduce, so it has a lower priority. bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@MrsBookik
Copy link

What happened?

When trying to create a new quasar app using the commend:

yarn global add @quasar/cli

I get the following error:

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18.0.0 <=20.x.x". Got "22.2.0"
error Found incompatible module.

What did you expect to happen?

that I can install the application

Reproduction URL

https://github.com/quasarframework/quasar/issues/new?

How to reproduce?

  1. open the terminal
  2. yarn global add @quasar/cli

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite), Project Creation (create-quasar)

Platforms/Browsers

Other

Quasar info output

Operating System   	Darwin(23.4.0) - darwin/arm64
NodeJs             	22.2.0

Global packages
  NPM              	10.7.0
  yarn             	1.22.19

Relevant log output

❯ yarn global add @quasar/cli
yarn global v1.22.19
[1/4] 🔍  Resolving packages...
⠂ @quasar/cli(node:81100) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2/4] 🚚  Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18.0.0 <=20.x.x". Got "22.2.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

Additional context

No response

@MrsBookik MrsBookik added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jun 5, 2024
@github-actions github-actions bot added area/cli area/project-creation Related to project creation process using the commands: `yarn create quasar` and `npm init quasar` bug/1-hard-to-reproduce A reproduction is available, but it's hard to reproduce, so it has a lower priority. bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite labels Jun 5, 2024
@rstoenescu
Copy link
Member

Hi,

We do not use create-strapi-app as a dependency.

You could try to install any other package globally and you might stumble upon the same error. This is one of the reasons why we advertise to use only LTS (long-term-support) versions of Node.js. Until v22 becomes LTS, please use Node.js v20.

This error has nothing to do with our global CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli area/project-creation Related to project creation process using the commands: `yarn create quasar` and `npm init quasar` bug/1-hard-to-reproduce A reproduction is available, but it's hard to reproduce, so it has a lower priority. bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants