juliosueiras / terraform-lsp

Language Server Protocol for Terraform
MIT License
579 stars 37 forks source link

Failed to install using sudo make. #54

Closed thepenguinthatwants closed 4 years ago

thepenguinthatwants commented 4 years ago

My logs for building this ended with

go build -ldflags "-X main.GitCommit=$(git rev-list -1 HEAD) -X main.Version=$(git describe --tags) -X main.Date=$(date --rfc-3339=date)"
# golang.org/x/xerrors
/root/go/pkg/mod/golang.org/x/xerrors@v0.0.0-20190513163551-3ee3066db522/adaptor_go1_13.go:16:14: undefined: errors.Frame
/root/go/pkg/mod/golang.org/x/xerrors@v0.0.0-20190513163551-3ee3066db522/format_go1_13.go:12:18: undefined: errors.Formatter
make: *** [Makefile:2: default] Error 2

With go build I get

golang.org/x/xerrors

../../go/pkg/mod/golang.org/x/xerrors@v0.0.0-20190513163551-3ee3066db522/adaptor_go1_13.go:16:14: undefined: errors.Frame
../../go/pkg/mod/golang.org/x/xerrors@v0.0.0-20190513163551-3ee3066db522/format_go1_13.go:12:18: undefined: errors.Formatter

Running go build also ended with same errors.

Any help with installing this?

thepenguinthatwants commented 4 years ago

go version go1.13.6 linux/amd64

juliosueiras commented 4 years ago

will close this for now, please reopen if the issue still persist in the newest version