google / skicka

Command-line utility for working with Google Drive. Join the mailing list at https://groups.google.com/forum/#!forum/skicka-users.
Apache License 2.0
1.3k stars 118 forks source link

Build Error #130

Closed BanditJackpot closed 5 years ago

BanditJackpot commented 5 years ago

Hi,

Having followed the various steps to install go (Following this guide) and Skicka, i'm now presented with the following error whilst trying the go get command:

# google.golang.org/api/gensupport
go/src/google.golang.org/api/gensupport/media.go:340: req.GetBody undefined (type *http.Request has no field or method GetBody)

Any tips on what could be the issue? I'm running go version go1.7.4 linux/arm

Many Thanks in advance.

mmp commented 5 years ago

I just tried installing skicka from scratch with an empty $GOPATH directory and couldn't reproduce this.

What happens if you run go get -u github/google/skicka? I'm wondering if some of the dependencies are out of date.

AlexOwen commented 5 years ago

I had this problem but updating from go 1.7.1 to 1.11.5 fixed it.