Skip to content

Failed to deploy with no error messages #2976

Open
@alexdemers

Description

Before opening, please confirm:

App Id

d3v5fhuza2jj3v

Region

ca-central-1

Amplify Hosting feature

Logging, Manual deploys

Describe the bug

Since about a week ago, every builds in the application complete but the deployment fails, then a few seconds later they complete. Because of this, it seems that the deployment is incomplete: the application responds with a blank page, then a few minutes later (and after clearing the browser cache) the application deployed correctly, even though amplify mentions that the deployment failed.

I have no error message except this in the Deploy tab:

2022-09-08T13:59:51 [INFO]: Starting Deployment
2022-09-08T13:59:51 [INFO]: Updating Edge config
2022-09-08T13:59:51 [ERROR]: Failed to deploy
 Got archive: 7602706 bytes
2022-09-08T13:59:53 [INFO]: Deployment complete

Expected behavior

Expected to deploy and verify successfully with the application being immediately available without any clearing of caches.

Reproduction steps

  1. Any deployment either manually with the console, or with automatically with new commits.

Build Settings

version: 1
frontend:
    phases:
        preBuild:
            commands:
                - yarn install --frozen-lockfile
        build:
            commands:
                - yarn run build
    artifacts:
        baseDirectory: public
        files:
            - '**/*'
    cache:
        paths:
            - node_modules/**/*

Additional information

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdeploy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions