Next.js app static deploy filed with exite code 1

Hey
I have visited to shown url but I can’t understand where is an issue
This is my next config
const nextConfig = {
reactStrictMode: true,
output: ‘export’,
};

module.exports = nextConfig;

Bumping, we’re getting the same issue in our repo. We’re using app dir and RSCs, but we have tested next export on a fresh next app (even demoted to /pages), and we run into the same problem.

Thanks for inform
I will let you know if i find the solution

1 Like

Hi,

Can you try updating the version of Node that your service uses by following this doc, https://render.com/docs/node-version

Regards,

Keith
Render Support, UTC+10 :australia:

2 Likes

This was the solution for the thanks.

Next requires a min node version of 14.6.0 according to docs.

So adding:

  "engines": {
    "node": ">=15"
  }

to my package.json fixed the issue.

1 Like

This is working
Thanks

Thank you too

Try the answers below
helped me

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.