Azure static web app yaml pipeline Error: Could not detect the language from repo

Discussão em 'Angular' iniciado por Sibeesh Venu, Abril 8, 2025.

  1. Sibeesh Venu

    Sibeesh Venu Guest

    I am using the task below to deloy my Angular application to the Azure static web app.

    - task: AzureStaticWebApp@0
    inputs:
    app_location: '/app/dist/my-web/browser/'
    azure_static_web_apps_api_token: $(deployment_token)


    I am getting the error below.

    Detecting platforms...
    Could not detect any platform in the source directory.
    Error: Could not detect the language from repo.


    ---End of Oryx build logs---
    Oryx was unable to determine the build steps. Continuing assuming the assets in this folder are already built. If this is an unexpected behavior please contact support.
    Finished building app with Oryx
    Failed to find a default file in the app artifacts folder (/). Valid default files: index.html,Index.html.
    If your application contains purely static content, please verify that the variable 'app_location' in your deployment configuration file points to the root of your application.
    If your application requires build steps, please validate that a default file exists in the build output directory.


    [​IMG]

    Continue reading...

Compartilhe esta Página