saibing / bingo

Bingo is a Go language server that speaks Language Server Protocol.
MIT License
495 stars 25 forks source link

Error during installation on macOS #99

Closed pavelbrm closed 5 years ago

pavelbrm commented 5 years ago

Hi there!

There is an error while installing latest version from master on macOS:

bingo $ git rev-parse HEAD
169023fd69ec6418ec07564c15e82158527a46bb

bingo $ GO111MODULE=on go install
go: finding github.com/mattn/go-colorable v0.1.0
go: finding golang.org/x/sys v0.0.0-20190213121743-983097b1a8a3
go: finding golang.org/x/tools v0.0.0-20190214043641-508f945e1a9b
go: downloading golang.org/x/tools v0.0.0-20190214043641-508f945e1a9b
go: finding github.com/fsnotify/fsevents v0.1.1
go: downloading github.com/fsnotify/fsevents v0.1.1
# github.com/saibing/bingo/langserver/internal/cache
langserver/internal/cache/gopath.go:64:11: p.project.setCache undefined (type *Project has no field or method setCache)
langserver/internal/cache/module.go:154:11: m.project.setCache undefined (type *Project has no field or method setCache)
langserver/internal/cache/project_darwin.go:32:6: path2Package redeclared in this block
    previous declaration at langserver/internal/cache/cache.go:16:6
langserver/internal/cache/project_darwin.go:81:2: undefined: packages.DebugCache
langserver/internal/cache/project_darwin.go:82:2: undefined: packages.ParseFileTrace
langserver/internal/cache/project_darwin.go:96:15: p.view.Config.Cache undefined (type packages.Config has no field or method Cache)
langserver/internal/cache/project_darwin.go:96:24: undefined: packages.NewCache
langserver/internal/cache/project_darwin.go:109:16: p.view.Config.ListCache undefined (type packages.Config has no field or method ListCache)
langserver/internal/cache/project_darwin.go:109:29: undefined: packages.NewListCache
langserver/internal/cache/project_darwin.go:451:35: undefined: packages.WalkFunc
langserver/internal/cache/project_darwin.go:109:29: too many errors

The setup: