DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 302 forks source link

Sublime text 3 install GoSublime ERROR #949

Open salJoker opened 4 years ago

salJoker commented 4 years ago

GoSublime error: MarGo build failed | > This is possibly a bug or miss-configuration of your environment. | > For more help, please file an issue with the following build output | > at: https://github.com/DisposaBoy/GoSublime/issues/new | > or alternatively, you may send an email to: gosublime@dby.me | > | > | > cmd:['C:\go\bin\go.exe', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r19.10.22-1_go?.exe', 'gosublime/cmd/margo'] | > stdout: | > | > | > stderr: | > runtime | > # runtime | > C:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block | > previous declaration at C:\go\src\runtime\stubs_amd64x.go:10:6 | > | > exception:None` | install state: busy | sublime.version: 3211 | sublime.channel: stable | about.ann: a19.10.22-1 | about.version: r19.10.22-1 | version: r19.10.22-1 | platform: windows-x64 | ~bin: ~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\windows-x64\bin | margo.exe: ~bin\gosublime.margo_r19.10.22-1_go?.exe (missing) | go.exe: C:\go\bin\go.exe (ok) | go.version: go? | GOROOT: C:\go | GOPATH: D:\gowork\path | GOBIN: (not set) | set.shell: [] | env.shell: | shell.cmd: ['C:\WINDOWS\system32\cmd.exe', '/C', '${CMD}'] | sh.bootstrap: | > error building gosubl\sh-bootstrap.go: # runtime | > C:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block | > previous declaration at C:\go\src\runtime\stubs_amd64x.go:10:6 | > | > error running bin\gosubl-sh-bootstrap.exe: 'bin\gosubl-sh-bootstrap.exe' 不是内部或外部命令,也不是可运行的程序

| > 或批处理文件。

| > | > go version: (raw version string) | > shell bootstrap took 1.497s | > `

DisposaBoy commented 4 years ago

This looks like a problem with your Go installation. Maybe you unzipped a new version of Go on top of an older one?

talgat-yandex commented 4 years ago

In package control website it says "missing". https://packagecontrol.io/packages/GoSublime.

DisposaBoy commented 4 years ago

@talgat-yandex Package Control isn't supported and I haven't gotten round to updating the tags/messages, sorry...

To install GoSublime you can find the instructions here https://github.com/DisposaBoy/GoSublime#installation--support