Skip to content

App Engine Deploy can't find import: "github.com/dustin/gojson" #245

@kevflynn

Description

@kevflynn

According to the docs, this is supports app engine deploys, but every single time I try to deploy with this package imported, I get this error:

ERROR: (gcloud.app.deploy) Error Response: [9] Deployment contains files that cannot be compiled: Compile failed:
/work_dir/github.com/ChimeraCoder/anaconda/vendor/github.com/dustin/go-jsonpointer/bytes.go:9: can't find import: "github.com/dustin/gojson"
/work_dir/github.com/ChimeraCoder/anaconda/backoff.go:6: can't find import: "github.com/azr/backoff"
2018/03/24 20:08:36 go-app-builder: build timing: 33×compile (23.42s total), 0×link (0s total)
2018/03/24 20:08:36 go-app-builder: failed running compile: exit status 2

it runs perfectly fine locally - only when i run gcloud app deploy, do i get this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions