My coding project utilizes next.js and follows this pipeline:
> Initiating Github PR
> AWS carries out BE/FE application builds
> Final built assets are transferred to vercel.com for FE hosting.
Presently, the frontend successfully builds, but encountering difficulty with communication to vercel. It's a bit of a roadblock as I had this process working smoothly six months ago.
No relevant information found on Google: https://i.sstatic.net/4ZbeW.png
AWS Log
2021-06-06T22:39:17.230Z [INFO]: # Executing command: if [ "packages" == "master" ]; then ./now-deploy.sh --prod --scope teamXXX; fi
# Executing command: if [ "packages" != "master" ]; then ./now-deploy.sh --scope teamXXX; fi
2021-06-06T22:39:17.286Z [INFO]: [now-deploy 2021-06-06 22:39:17] Attempting preview deployment
2021-06-06T22:39:17.287Z [INFO]: [now-deploy 2021-06-06 22:39:17] Deployment command: now deploy -d -C -c -f --scope=teamXXX --token=<<REDACTED>>
2021-06-06T22:39:22.768Z [INFO]: [now-deploy 2021-06-06 22:39:22] Deploy failed, and no monitoring URL was given (see https://vercel.com/ for details)
2021-06-06T22:39:22.771Z [ERROR]: !!! Build failed
2021-06-06T22:39:22.771Z [ERROR]: !!! Non-Zero Exit Code detected
2021-06-06T22:39:22.771Z [INFO]: # Starting environment caching...
2021-06-06T22:39:22.771Z [INFO]: # Uploading environment cache artifact...
2021-06-06T22:39:22.847Z [INFO]: # Environment caching completed
To sum up, I am currently struggling to pinpoint the source of this failure in order to address it.