Skip to content

Deployment issue - error next@14.0.4: The engine "node" is incompatible with this module.  #15

Description

@tynoschuck

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 next@14.0.4: 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions