Error deploying Angular app to Azure related to zip dwasmod.dll

Discussão em 'Angular' iniciado por Dewey Jones, Maio 7, 2025.

  1. Dewey Jones

    Dewey Jones Guest

    I have an Angular app that I build and deploy using Azure Dev Ops to an Azure App Service (Node.js on Windows). I am creating a zip file for in the ADO build pipeline with this azure-piplines.yml step:

    - task: ArchiveFiles@2
    displayName: 'Zip deployment package'
    inputs:
    rootFolderOrFile: '$(Build.SourcesDirectory)/dist/browser' # Folder to zip
    includeRootFolder: false
    archiveType: 'zip'
    archiveFile: '$(Build.ArtifactStagingDirectory)/deployment.zip' # Output zip file
    replaceExistingArchive: true



    I'm deploying it in the deployment pipeline with this step:

    - task: AzureWebApp@1
    displayName: 'Deploy to Azure App Service'
    inputs:
    azureSubscription: xxxx
    appType: 'webApp'
    appName: xxxx
    package: '$(Pipeline.Workspace)/drop/deployment.zip'


    On deployment there is an error. The relevant info in EventLog.xml is:

    Failed to load dwasmod.dll​

    Azure "Diagnose and solve problems" doesn't even recognize that the event occurred. The "Support + Troubleshooting" rabbit-hole yielded nothing of use either.

    Continue reading...

Compartilhe esta Página