Azure / Azure/static-web-apps

Error deploying next.js to Azure static web app

Open
#1,596 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Deployment Failed :(
Deployment Failure Reason: Web app warm up timed out. Please try again later.

For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting

##[error]Error: The process '/usr/bin/bash' failed with exit code 1

yaml looks like this

app_location: "/quoject-fe" # App source code path
api_location: "" # Api source code path - optional
output_location: "" # Built app content directory - optional
verbose: true
build_timeout_in_minutes: 30
app_build_command: "npm run build"
api_build_command: "rm -rf ./node_modules/@next/swc-* && rm -rf ./.next/cache"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the deployment YAML snippet, the /quoject-fe app path, and the linked Azure Static Web Apps documentation; run npm run build and inspect the deployment logs for the warm-up timeout. Done means the Next.js app deploys successfully without the reported timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, bash, next.js
Domain
ci-cd, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.