Open thomasgodart opened 3 years ago
As a complement to the ticket description, here is what I see every time when I open Atom:
Yellow message by: gocode
dial unix /tmp/gocode-daemon.me: connect: no such file or directory
Yellow message by: gometalinter
Installing:
deadcode
dupl
errcheck
gochecknoglobals
gochecknoinits
goconst
gocyclo
goimports
golint
gosec
gotype
gotypex
ineffassign
interfacer
lll
maligned
misspell
nakedret
safesql
staticcheck
structcheck
unconvert
unparam
varcheck
And this installing takes about 2 minutes, does a lot of downloading, the ~/go
directory jumps from 486M with all my dependencies for my projects and the dependencies that VS Code
is loading, to a huge 933M
And what I see is that every time I open Atom the same downloading and installing happens.
So with that bug present, I can't really afford to use Atom with go-plus
anymore, so I've switched to VS Code but I don't like it.
Is there a way to quick fix it on my system?
I am seeing this on my mac on after a fresh install of go from homebrew
I have the exact same issue
Same here on Ubuntu
same on windows
I think it's a duplicate of https://github.com/joefitzgerald/go-plus/issues/1020 , the solution worked for me:
Also removed the following line from /home/fray/Desktop/go-plus/lib/package-manager.js:
['golangci-lint', 'github.com/golangci/golangci-lint/cmd/golangci-lint'],
There appears to be a fluke in a vendored package used by "golangci-link" linter. It failed to install every time, forcing atom to attemp re-installing on every launch. Pick a different linter in the options, remove the line as I did and it stops trying to re-install everything on launch.
In my case the package-manager.js
directory was: ~/.atom/packages/go-plus/lib/
Description
Since I manually installed Golang 1.15 on my Ubuntu 20.10, the dependencies that
go-plus
wants to use keep on installing themselves again and again every time I open Atom. Togo-plus
they look like missing, but after their first install they are present and accessible so they shouldn't be downloaded again and installed againOutput from
atom -v && apm -v
I have python 3.8.6 installed on my system, not sure why the
apm -v
command doesn't work for pythonOutput From
go env
Steps to Reproduce
$ sudo apt remove golang
/usr/local/go/
~/.profile
the lines:Expected Behavior
The dependencies should install themselves once
Actual Behavior
The dependencies keep on installing themselves again and again, as if they were missing