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

Node version is too high?? #55

Open
jordanlambrecht opened this issue Aug 5, 2022 · 3 comments
Open

Node version is too high?? #55

jordanlambrecht opened this issue Aug 5, 2022 · 3 comments

Comments

@jordanlambrecht
Copy link

On install using yarn create strapi-starter my-project next-blog I get the following failure:

Error while installing dependencies:
warning ../../../package.json: No license field
error backend@0.1.0: The engine "node" is incompatible with this module. Expected version ">=12.x.x <=16.x.x". Got "18.5.0"
error Found incompatible module.

 Keep trying!             

Oh, it seems that you encountered errors while installing dependencies in your project.
Don't give up, your project was created correctly.
Fix the issues mentioned in the installation errors and try to run the following command:

cd /Users/jordanlambrecht/dev-local/my-project/backend && yarn install
@quantran020173
Copy link

Expected version ">=12.x.x <=16.x.x". Got "18.5.0" error Found incompatible module. -> You should install Node LTS not latest version, you can uninstall and install node again with version 16 or learn how to use nvm.

@WilsonLe
Copy link

Like @quantran020173 mentioned, you should use nvm (short for Node Version Manager) to manage your, well, Node versions. It lets you quickly switch between node versions, install other versions quickly and reliably.

The installation guide can be found here

After you install nvm, you can easily switch to Node16 by nvm use 16. If you have not installed Node16, you can simply install it by nvm install 16.

@JoshuaAlzate
Copy link

JoshuaAlzate commented Jan 23, 2023

Is Strapi do not support Node 18?

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

4 participants