I am having a problem while trying to deploy Go project to Google App Engine (Standard Environment). When trying to run gcloud app deploy
, all of the .go
files get copied to the bucket, but after that I get an error:
Staging second-gen Standard app: failed to bundle to c:\users\user\appdata\local\temp\tmprhpsm3\tmp6w7zeo: unable to copy directory ..\framework to _gopath\framework: unable to read dir "..\\framework": open ..\framework: The system cannot find the file specified.
Where framework
represents local package name. It seems to be an issue with package imports, and I can't find a way to resolve it.
Any help would be much appreciated!
EDIT
The issue was somehow resolved on its own. I did some corrections to the GOPATH
, but the final solution worked with the default GOPATH
value.