Hi all,
I am going to try to be as deliberate as possible here. I have a backend to a website that I am hosting with Google App Engine. Everything was working great, until I went to write some new code to present the website with new functionality. Well, while writing in VSCode I got everything to execute perfectly. When uploading my front end to my Google Cloud Storage Bucket, I had no issues. But when uploading my new code to Google App Engine (via the Google Cloud Shell Editor) and running `gcloud app deploy`, I am met with an error in the Cloud Shell Editor console that says,
"Error Response: [9] Cloud build fcea6735-b6d4-4170-bf11-47e5c732fe6f status: FAILURE
pattern ./...: directory gopath/pkg/mod/github.com/davecgh/go-spew@v1.1.1/spew outside main module or its selected dependencies".
I am very stumped on this, as I've tried my best to scour what resources I could for help regarding this topic, but I have not been able to find anything to get me out of this hole.
Lastly, the error message from Google Cloud Shell Editor also tells me to visit a page for the full logs. Below is the error message spit out by that page on Step #2: Build,
"Step #2 - "build": Running "go list -f {{join .Imports \"\\n\" }} ./..."
Solved! Go to Solution.
Hello @bendoza,
Welcome to the Google Cloud Community!
It seems that you are having a problem with the deployment process of your application, specifically with your package dependency.
Take a look at this documentation about Specifying Dependencies
You can try the following troubleshooting options:
import "github.com/example/mypackage"
Let me know if it helped, thanks!
Hello @bendoza,
Welcome to the Google Cloud Community!
It seems that you are having a problem with the deployment process of your application, specifically with your package dependency.
Take a look at this documentation about Specifying Dependencies
You can try the following troubleshooting options:
import "github.com/example/mypackage"
Let me know if it helped, thanks!