I suppose this might be helpful for a static web app that was working for a while and then broke. My problem is that I cannot get the initial deployment of my static web app to work, so Azure never creates a Statice Web App object for me to query. I am not able to access any logs or diagnostics to try to figure out what the problem is. All of these troubleshooting instructions assume that the Static Web App instance exists, but I haven't found anything that explains how to troubleshoot a case where it simply can't be created.
Azure sends me emails notifying me that the build failed, but it only includes the useless message:
Error: The process '/usr/bin/bash' failed with exit code 1
The email includes a "View Results" link -- which gives me a 404 error LOLOL.
I just figured out the source of my problem, so here's something you can add to the troubleshooting checklist:
I did not have Pipelines enabled for this project in DevOps. After I enabled Pipelines in the Project settings, I was able to create the Static Web App and successfully deploy it.
I managed to figure out what was wrong in spite of the documentation, not because of it. I hope you will actually add this information to the "prerequisites" section of the Static Web App quickstart, and also to the Static Web Apps troubleshooting page I referenced above.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 15370275-1651-7ee4-cd62-110c96b80bd8
Version Independent ID: ece32c09-03d0-cd0f-f593-04db02e1273d
I suppose this might be helpful for a static web app that was working for a while and then broke. My problem is that I cannot get the initial deployment of my static web app to work, so Azure never creates a Statice Web App object for me to query. I am not able to access any logs or diagnostics to try to figure out what the problem is. All of these troubleshooting instructions assume that the Static Web App instance exists, but I haven't found anything that explains how to troubleshoot a case where it simply can't be created.
Azure sends me emails notifying me that the build failed, but it only includes the useless message:
Error: The process '/usr/bin/bash' failed with exit code 1
The email includes a "View Results" link -- which gives me a 404 error LOLOL.
How does anyone ever get work done in Azure?
the Github editor borked out when I tried to paste the error message from the Azure-generated email and deleted all the context stuff. The page is https://learn.microsoft.com/en-us/azure/static-web-apps/troubleshooting
I just figured out the source of my problem, so here's something you can add to the troubleshooting checklist:
I did not have Pipelines enabled for this project in DevOps. After I enabled Pipelines in the Project settings, I was able to create the Static Web App and successfully deploy it.
I managed to figure out what was wrong in spite of the documentation, not because of it. I hope you will actually add this information to the "prerequisites" section of the Static Web App quickstart, and also to the Static Web Apps troubleshooting page I referenced above.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.