I was having this issue when my GOPATH was pointing to a directory inside 
my gae project's directory. I was doing that because I wanted my server 
modules to be organized in a standard way (per Go standards) so that my go 
code analysis/navigation/lint plugins worked properly and at the same time 
I wanted the gae dev server to detect changes to them and recompile 
automatically. Turns out it seems we can't have both :(

The issue was solved for me when I moved my server's go modules (and the 
GOPATH entry referring to them) to another directory outside the project's 
directory.

On Wednesday, November 15, 2017 at 12:04:39 AM UTC-5, Ben Guild wrote:
>
> By including this in the main package (aside from `init()`) ...
>
> func main() {
>
>  appengine.Main();
>
>
> }
>
> ... This error appears on about 50% of deployments, and it's been going on 
> for over a year. Really annoying because I can't build locally without 
> commenting out that method, yet I can't deploy consistently with it there. 
> (it usually takes two tries)
>
> Does anyone have a workaround, or could it please be looked into?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6f364d35-fbcf-4b35-acad-a669e2157e8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to