Skip to content
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

config/embed.go:4:2: package embed is not in GOROOT (/usr/local/go/src/embed) #131

Closed
noyce opened this issue May 3, 2021 · 10 comments
Closed
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@noyce
Copy link

noyce commented May 3, 2021

I'm new to golang and docker.I setup docker successfully but face this when i run docker-compose up in my confetti project
image

@reindert-vetter
Copy link
Contributor

It seems that it does not use Go version 1.16. I'll be looking at this today.

reindert-vetter pushed a commit to confetti-framework/support that referenced this issue May 4, 2021
reindert-vetter pushed a commit to confetti-framework/contract that referenced this issue May 4, 2021
@reindert-vetter
Copy link
Contributor

reindert-vetter commented May 4, 2021

It is solved by the following:
e984bd6

I will process this with other tweaks and test everything today and tomorrow. But you can make the above adjustment in your Dockerfile yourself (and run docker-compose up --build).

reindert-vetter pushed a commit to confetti-framework/foundation that referenced this issue May 4, 2021
reindert-vetter added a commit to confetti-framework/foundation that referenced this issue May 4, 2021
@noyce
Copy link
Author

noyce commented May 5, 2021

Okay , thanks a lot!

@reindert-vetter
Copy link
Contributor

@noyce Can you confirm that this was the solution?

@noyce
Copy link
Author

noyce commented May 5, 2021

image
The build is successful but i cannot ping the server, it fails to establish connection. At the same time I'm able to access the Mail hog endpoint.

reindert-vetter pushed a commit to confetti-framework/foundation that referenced this issue May 5, 2021
reindert-vetter pushed a commit that referenced this issue May 5, 2021
reindert-vetter pushed a commit that referenced this issue May 5, 2021
@reindert-vetter
Copy link
Contributor

reindert-vetter commented May 5, 2021

@noyce My apologies, I couldn't reproduce at first. I have implemented the solution. See release v0.23.2 You need to adjust the following: v0.23.1...v0.23.2

Can you indicate whether it works for you now?

@noyce
Copy link
Author

noyce commented May 6, 2021

image
I get this now,
err: exit status 1: stderr: go: github.com/confetti-framework/contract@v0.3.0: module lookup disabled by GOPROXY=off
: packages.Load error

@reindert-vetter
Copy link
Contributor

reindert-vetter commented May 6, 2021

@noyce I think there is an old package from /contract. You can do the following:
go get github.com/confetti-framework/contract@v0.3.0

Or to update and install all packages:
go get -u all

Maybe I should document that. (For me, Goland (editor) does that automatically)

@noyce
Copy link
Author

noyce commented May 7, 2021

Yes it works for me now! thanks a lot. Yes i think this can be documented, it'll be helpful for laravel/php folks to get things started .

@reindert-vetter reindert-vetter added bug Something isn't working documentation Improvements or additions to documentation labels May 7, 2021
@reindert-vetter
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants