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

Deployment issue - error [email protected]: The engine "node" is incompatible with this module. #15

Open
tynoschuck opened this issue Dec 27, 2023 · 2 comments

Comments

@tynoschuck
Copy link

Hello there!
I got issues trying to deploy the app with PayLoad.
I hace the latest version of node installed but when I deploy the app I get this:

[2023-12-27T12:50:50]
╭──────────── app build ───────────╼
[2023-12-27T12:50:50]
│ ---> Node.js Buildpack
[2023-12-27T12:50:50]
│ ---> Installing toolbox
[2023-12-27T12:50:50]
│ ---> Getting Node version
[2023-12-27T12:50:50]
│ ---> Resolving Node version
[2023-12-27T12:50:51]
│ ---> Reusing Node v16.20.2

and then

[2023-12-27T12:52:44]
│ error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18.17.0". Got "16.20.2"
[2023-12-27T12:52:44]
│ error Found incompatible module.

If I understood correctly, the deplyment uses an older version of Node that is not compatible with next.
Any idea how to solve the issue?
Thanks in advance!

@Rushabhgedam
Copy link

try to do node -v
it will tell you that currently you're having node version of 16.20.2 but that supposed to be greater than or equals to 18.17.0
You can do so using nvm

@tynoschuck
Copy link
Author

try to do node -v it will tell you that currently you're having node version of 16.20.2 but that supposed to be greater than or equals to 18.17.0 You can do so using nvm

Thanks for the reply! I checked the version with node -v and it says 21.5.0

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

2 participants