-
Notifications
You must be signed in to change notification settings - Fork 592
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
cannot load package #37
Comments
Have you followed the golang installation instructions from https://golang.org/doc/install ? |
I uninstalled and resinstalled go and now the build is successful. I am sure I used the MSI the first time so I am not sure why that is but glad it is working. Am hopeful I can get the rest of the environment working properly without issues so I can follow up with the remaining chapters in securing the application. Thanks for looking into this. |
I am following the instructions in chapter 2 and in the readme.md file to setup my environment. I have registered for circleCI and docker. I have imported my forked invoicer app and setup a docker repo and added the DOCKER_USER and DOCKER_PASS to the project settings. I have updated the working directory in my config.yml to: /go/src/github.com/jasonduquain/invoicer-chapter2. When I trigger a rebuild I get the following error in the 'testing application' section of circleCI:
can't load package: package github.com/JasonDuquain/invoicer-chapter2: cannot find package "github.com/JasonDuquain/invoicer-chapter2" in any of:
/usr/local/go/src/github.com/JasonDuquain/invoicer-chapter2 (from $GOROOT)
/go/src/github.com/JasonDuquain/invoicer-chapter2 (from $GOPATH)
Exited with code 1
I have searched around and maybe I need to run some go commands in order to get a bulidable source?:
hu17889/go_spider#26
I tried intalling go and doing the equivelent commands for this app but I get errors when running them and I am not even sure if this needs to be done.
Can you assist at all with this? I am running Windows 10 and if you need any output from the circleCI failure let me know. I should also mention I am a security guy with node/express/mongo/react experience but none with Go so I may be missing something that is obvious and if so please forgive my ignorance.
The text was updated successfully, but these errors were encountered: