Error failed to build - Next.js Project

I tried and it failed .

I meant GitHub actions, read on how to set it up here

Hello ,
I have tried the deployment using GitHub Actions as recommended but failed .

Is this build working on your local machine? I think this might be an issue with the build its self. Can you also provide the full logs of this GitHub action run?

Hello ,
Now the issue is resolved .

what i have done :

  • Increase Node heap in Dockerfile , removed the 256 MB memory cap

updated Dockerfile to increase memory limit and remove unnecessary NODE_OPTIONS; cleaned up next.config.mjs by removing experimental settings.

1 Like