If you are seeing the message "Your site will be ready soon—please check back later," it could be due to several reasons related to the deployment process of your frontend app using the Azure Static Web Apps CLI. Here are some common issues to check:
- Deployment Status: Ensure that the deployment process has completed successfully. You can check the Azure portal for the status of your deployment.
- Configuration Issues: Make sure that your
swa-cli.config.jsonfile is correctly set up, especially the paths to your app and API locations. If the configuration is incorrect, the CLI might not be able to serve your app properly. - Build Errors: If there are any errors during the build process of your Vite app, it might not deploy correctly. Check the logs for any build errors that need to be resolved.
- Local Development: If you are testing locally, ensure that you are using the correct commands to start the local server. You can use the
swa startcommand to serve your app locally and check for any issues. - API Configuration: If your app relies on API functions, ensure that they are correctly configured and that the Azure Functions Core Tools are properly set up to run your API endpoints.
If you have checked all these areas and are still facing issues, consider reaching out for support or checking the Azure documentation for more troubleshooting steps.
References: