Skip to content

Problems installing goapp #168

Closed
Closed
@samtstern

Description

@samtstern

I had a pretty rough installation experience. This is on a brand new 2018 MacBook pro, I have not used any app engine tools on it before.

First I ran:

gcloud components install app-engine-go

Then I ran goapp ... command not found. So I did:

chmod +x ~/google-cloud-sdk/platform/google_appengine/goapp
export PATH=$PATH:$HOME/google-cloud-sdk/platform/google_appengine

That got it on my path and executable. Then running it:

$ goapp serve
Traceback (most recent call last):
  File "/Users/samstern/google-cloud-sdk/platform/google_appengine/goapp", line 136, in <module>
    goroot = GetGoRoot(os.environ['GOPATH'], sys.argv)
  File "/Users/samstern/google-cloud-sdk/platform/google_appengine/goapp", line 119, in GetGoRoot
    return os.path.join(SDK_BASE, goroots.GOROOTS[app_yaml.api_version])
KeyError: None

That's as far as I've got. Stuck at this point.

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