Deployment succeeded but Website report "There was an unexpected error in the request processing"
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
repository: https://github.com/rebeccapeltz/nextjs-azure-test
deployment: https://gray-grass-005eb5b10.3.azurestaticapps.net/
I modified the yml to remove nextjs/caches per another open issue. This allowed the build and deployment to complete.
```
app_build_command: 'npm run build'
api_build_command: 'rm -rf ./node_modules/@next/swc-* && rm -rf ./.next/cache'
```
There is a warning that I don't know how to interpret: Failed to remove `http.https://github.com/.extraheader' from the git config
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. I used a sample [blog starter app](https://vercel.com/templates/next.js/blog-starter-kit) from Next.js
2. Go to [deployed app](https://gray-grass-005eb5b10.3.azurestaticapps.net/)
3. View Error
4. Go to [yml used for build](https://github.com/rebeccapeltz/nextjs-azure-test/blob/main/.github/workflows/azure-static-web-apps-gray-grass-005eb5b10.yml). If I don't remove the cache during build the build is rejected due to size. It's a very small application.
**Expected behavior**
The app should load with the URL provided by Azure.
**Device info (if applicable):**
- OS: [e.g. iOS] iOS
- Browser [e.g. chrome, safari] chrome
- Version [e.g. 22] 113.0.5672.92
**Additional context**
I want to be able to deploy Next.js 13 apps to Azure and this is a common way to try it out.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.