Netlify not Building on Nextjs app. Build command failed

Hi @EliLizR :wave:t6: ,

Welcome to the forums and thanks for reaching out. There a few things wrong with your build based on your recent failed log. Here are some tips that will hopefully be of use to use. Does this work for you locally? If not try getting it working on your local first. If it does work locally and fails to build here are some tips:

To address these issues, you can take the following steps:

  • Configure build caching to improve rebuild speed.
  • Replace <img> elements with <Image /> from next/image.
  • Add the missing dependencies to the useEffect hook in Payments.js or adjust the dependency array

I also STRONGLY encourage that you check out our debugging guide. Going off of the info you provided I can only make educated guesses. It would be helpful if you supplied your repo as well?