fasttemplate
fasttemplate copied to clipboard
Another GAE problem
Trying to deploy my code based on Echo Framework, and getting GAE error:
ERROR: (gcloud.app.deploy) Error Response: [9] Deployment contains files that cannot be compiled: Compile failed:
/work_dir/github.com/valyala/fasttemplate/template.go:12: can't find import: "github.com/valyala/bytebufferpool"
2017/12/22 23:38:09 go-app-builder: build timing: 15×compile (4.677s total), 0×link (0s total)
2017/12/22 23:38:09 go-app-builder: failed running compile: exit status 2
As far as I can see, GAE from Go 1.9.1 (I believe) stop reading subpackage vendors folder. When I delete /vendors folder in fasttemplate, build going through without issues.
delete the folder src/github.com/valyala/fasttemplate/vendor
and try deploy again.
Yeah, I did. But this is not a solution to my problem. I've changed CI to delete the folder it exists.
Not simply remove folder. Had to delete it and run go get afterwards
Thank you !! I soluted problem !! we get the same error, but in my case , i uninstalled & installed it.
$ rm-rf $GOPATH/src/github.com/valyala/fasttemplate/vendor`
$ go get install github.com/valyala/fasttemplate/vendor
$ gcloud app deploy or $ gcloud app deploy passto/***.yaml
I did sucess deployng 🙂✨!!