Failed to build: exit status 1 when trying to deploy a Next.js app to App platform

Hi. I was attempting to Deploy a Next.js App to App Platform , I followed the tutorial fully. But when I tried to deploy it, i got this error:

ERROR: failed to build: exit status 1

When searching google for this error, I found some answers saying that clearing the cache, and do some commands to the CLI. But I can’t even access the CLI. Help would be much appreciated.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!