Coder Social home page Coder Social logo

Error during image building about chat HOT 9 CLOSED

tinode avatar tinode commented on May 22, 2024
Error during image building

from chat.

Comments (9)

or-else avatar or-else commented on May 22, 2024

What's your go version?

go version

from chat.

or-else avatar or-else commented on May 22, 2024

Did you run go get -u?

from chat.

hutger avatar hutger commented on May 22, 2024

from chat.

hutger avatar hutger commented on May 22, 2024

from chat.

or-else avatar or-else commented on May 22, 2024

Your go setup fails to find versioned third-party package although it's clearly there: http://gopkg.in/gorethink/gorethink.v2

Something is wrong with your setup. What's you $GOROOT and $GOPATH? Is your project located at $GOROOT/src?

What do you get for git remote -v?

Btw, when you run go get -u you can't possibly get the same error. What's the exact error message when you run it?

from chat.

hutger avatar hutger commented on May 22, 2024

I'm using the most current golang docker image. The default $GOROOT is blank and $GOPATH is /go.

root@ccfe8eb6a013:/go/src# go get -u github.com/tinode/chat/tinode-db
root@ccfe8eb6a013:/go/src# go install -tags rethinkdb github.com/tinode/chat/tinode-db
github.com/tinode/chat/server/db/rethinkdb/adapter.go:16:2: cannot find package "gopkg.in/gorethink/gorethink.v2" in any of:
/usr/local/go/src/gopkg.in/gorethink/gorethink.v2 (from $GOROOT)
/go/src/gopkg.in/gorethink/gorethink.v2 (from $GOPATH)

root@ccfe8eb6a013:/go/src# git remote -v
fatal: Not a git repository (or any of the parent directories): .git

from chat.

or-else avatar or-else commented on May 22, 2024

Fixed #36. Thank you for the bug report!

from chat.

or-else avatar or-else commented on May 22, 2024

No update, so I assume it's indeed fixed. Closing.

from chat.

hutger avatar hutger commented on May 22, 2024

Sorry, I thought you had already closed the issue. The problem is fixed indeed. Many thanks.

from chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.