Hello,
I am having an issue with building a site using Netlify and NextJS.
When I run the solution locally it works no problem, however when I get to the Netlify side it all starts to go wrong.
The site I am building for is elucid.netlify.app.
I am using github to pull the code into Netlify and then executing the same commands locally in Netlify.
It initializes fine and then we start to hit an issue with the build
The error message doesn’t give me much help and I have been wrecking my head now on how to resolve this.
Has anyone any advice or can help with this issue?
Thanks
Melvin
February 27, 2024, 1:35pm
2
Hi @paulmcgann ,
Thanks for reaching out! Sorry to hear about the issue, could you provide us a link to the deploy log or provide the site name (example sitename.netlify.app)? That will allow us to take a closer look into this issue.
Hi @Melvin ,
I am not sure I can get a link to the build log is this maybe it Netlify App , however the site name is ‘elucid.netlify.app’.
Thanks
Paul
Looks like you’ve deleted the deploy.
Hi @hrishikesh and @Melvin
Sorry that was me just keeping the history clean.
Here is a new link Netlify App .
Thanks
Paul
Melvin
March 4, 2024, 6:52pm
7
Hi @paulmcgann ,
Thanks for providing a link to the deploy.
Are you able to build locally? Generally a Command failed with exit code 137 is a memory issue.
This Support Guide is your best path to address by changing your builds/config:
last updated by Netlify Support Nov 2023
Are you struggling to get your build working? Most build errors are caused by problems in code or data, and for those errors, our best guide / general starting place for debugging build troubles is this one:
But, sometimes your build is working fine and suddenly ends with some inscrutable errors that don’t seem to be “about” your code or site even. Perhaps you see an error message like this in your builds?
2:28:35 PM: <--- Last few GCs --->
2:28:35…