Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP :: Error loading workspace folders #43490

Closed
sandao opened this issue Jan 4, 2021 · 0 comments
Closed

LSP :: Error loading workspace folders #43490

sandao opened this issue Jan 4, 2021 · 0 comments

Comments

@sandao
Copy link

sandao commented Jan 4, 2021

What version of Go are you using (go version)?

$ go version
go version go1.15.6 darwin/amd64

Does this issue reproduce with the latest release?

gopls version
golang.org/x/tools/gopls v0.6.0
golang.org/x/tools/gopls@v0.6.1 h1:vD171EDBkyUVyp9B45IYXklV/VEfbHgX0FKw0Q0dO30=

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/Sandao/Development/Go/GoBin"
GOCACHE="/Users/Sandao/Library/Caches/go-build"
GOENV="/Users/Sandao/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/Sandao/Development/Go/GoPath/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/Sandao/Development/Go/GoPath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/opt/go/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/y9/t6fcwqd90kz64xqw_wdvsllw0000gn/T/go-build021158032=/tmp/go-build -gno-record-gcc-switches -fno-common"

OS : Mac 11.1
Editor: spacemacs
Error Msg:
LSP :: Connected to [gopls:12387 status:starting].
LSP :: gopls:12387 initialized successfully
LSP :: Error loading workspace folders (expected 1, got 0)
failed to load view for file:///Users/Sandao/Development/Go/Study: err: exit status 1: stderr: go: creating work dir: stat /var/folders/k7/k4lddp1j6js3mkdpyz4n6sc80000gn/T/: no such file or directory

@sandao sandao closed this as completed Jan 5, 2021
@golang golang locked and limited conversation to collaborators Jan 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants