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

The engine "node" is incompatible with this module when npm install on node 14.5.4 #3652

Closed
cliffordfajardo opened this issue Jul 4, 2022 · 4 comments · Fixed by #3658
Closed

Comments

@cliffordfajardo
Copy link
Contributor

cliffordfajardo commented Jul 4, 2022

What version of Remix are you using?

1.6.3

Steps to Reproduce

  1. Run npm install (or yarn install) on a remix project using node version 14.15.4
    CleanShot 2022-07-04 at 17 25 35@2x

Output

error @remix-run/eslint-config@1.6.3: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.4"
error Found incompatible module.

Expected Behavior

installing dependencies (npm install..) should not fail as the minimum node version recommended in remix docs is node 14
CleanShot 2022-07-04 at 17 02 35@2x
The

@cliffordfajardo cliffordfajardo changed the title Update package.json's engines.node version value The engine "node" is incompatible with this module when npm install on node 14.5.4 Jul 5, 2022
@cliffordfajardo
Copy link
Contributor Author

EDIT:
Eslint has "node": "^12.22.0 || ^14.17.0 || >=16.0.0" hard coded in their package.json 🤔 😢

@machour
Copy link
Collaborator

machour commented Jul 5, 2022

I think the documentation needs to be updated here.
Do you want to make a PR against the main branch?

@machour machour added the docs label Jul 5, 2022
@cliffordfajardo
Copy link
Contributor Author

cliffordfajardo commented Jul 5, 2022

Sure - Ill specify that you need to be on either of those 3 node versions at this time since its a hard requirement of eslint

CleanShot 2022-07-05 at 16 55 02@2x

EDIT - new PR

@morad-labrid
Copy link

upgrade Node by the commande line (bow upgrade node)
its work for me !

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

Successfully merging a pull request may close this issue.

3 participants