-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
*Not* using margo extension: Error: cannot find package "margo" in any of #891
Comments
Did you follow the instructions and press ctrl+.,ctrl+x? |
My submine press ctrl+.,ctrl+x can't open a window |
I try to change the Key Bindings to anothor one and opened the margo.go |
I'm not sure I understand. Are you saying the key binding doesn't do anything? You need to press ctrl+., then keep holding ctrl and press x. In either case, the command is available via the Sublime Text command palette under the name |
hi, I get the same problem.
go version is when i open |
@justay If you've followed the (admittedly poor) instructions on https://margo.sh/b/migrate/ you just need to save the file and margo should restart automatically. |
help, how to fix it? What you need to change the file margo? |
@rezzovskij See my previous comment #891 (comment) |
@DisposaBoy Thanks for all the work you've done on GoSublime. A point of feedback would be to change
To
(It wasn't clear to me that that was what needed to be done until I found this ticket. Pressing those key combinations did the install and I was able to proceed.) Otherwise I think this ticket can be closed, no? |
@tooolbox I'll take a look when I get a chance. The error message can be improved, but I also think it's a bug. We know ahead of time if the file is missing, so we should generate it by default instead of letting the compilation fail - I think that's how it's supposed to work/worked originally. |
Not using margo extension: Error: cannot find package "margo" in any of
[16:12:05] margo: agent#007: log:
go install -v -tags=margo margo.sh/cmd/margo.sublime
[16:12:07] margo: agent#007: log:
C:\go\bin\margo.sublime.exe -codec msgpack
[16:12:09] margo: agent#007: log: store.go:137: started
[16:12:11] margo: agent#007: log: restart.go:145: Mg/Restart: exit status 1
[16:12:11] margo: agent#007: log:
go install -v -tags=margo margo.sh/cmd/margo.sublime
[16:12:11] margo: agent#007: log: press
ctrl+.
,ctrl+x
to configure margo or check console for errors[16:12:11] margo: agent#007: log: Not using margo extension: Error: cannot find package "margo" in any of:
[16:12:11] margo: agent#007: log: C:\go\src\margo (from $GOROOT)
[16:12:11] margo: agent#007: log: D:\Program Files (x86)\Sublime Text Build\Data\Packages\User\GoSublime\src\margo (from $GOPATH)
[16:12:11] margo: agent#007: log: D:\Program Files (x86)\Sublime Text Build\Data\Packages\GoSublime\src\margo
[16:12:11] margo: agent#007: log: agent GOPATH is D:\Program Files (x86)\Sublime Text Build\Data\Packages\User\GoSublime;D:\Program Files (x86)\Sublime Text Build\Data\Packages\GoSublime
My Golang.sublime.setting is like this :
{
"env": {
"GOROOT":"C:\go",
"GOBIN":"C:\go\bin",
"GOPATH": "E:\go",
"GOARCH":"amd64",
"GOOS":"windows",
"PATH":"%GOBIN%;%PATH%"
},
"comp_lint_enabled": true,
"use_gs_gopath":true,
"comp_lint_commands": [
{"cmd": ["go", "install"]}
],
}
How to resolve this problem?
The text was updated successfully, but these errors were encountered: