MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.08k stars 21.12k forks source link

Github editor borked out when I tried to paste the error message from the Azure-generated email and deleted all the context stuff. #120199

Open AjayBathini-MSFT opened 4 months ago

AjayBathini-MSFT commented 4 months ago

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.

AjayBathini-MSFT commented 4 months ago

@GeekTrainer Can you please check and add your comments on this doc update request as applicable.

GeekTrainer commented 5 hours ago

I'm no longer at Microsoft nor working actively with Static Web Apps. Unfortunately I'm not able to assist