Skip to content

App deployment fails - compute/metadata requires compute@v1.14.0: missing go.sum entry #123

@sumitjnn

Description

@sumitjnn

Get the below error when deploying default app
gcloud app deploy --project "${PROJECT_ID}" --version v1 ./app/app.yaml

Beginning deployment of service [default]...
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 0 files to Google Cloud Storage                ═╣
╚════════════════════════════════════════════════════════════╝
File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build <build-id> status: FAILURE
go: cloud.google.com/go/compute/metadata@v0.2.3 requires
        cloud.google.com/go/compute@v1.14.0: missing go.sum entry; to add it:
        go mod download cloud.google.com/go/compute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions