Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-299

Adding MongoDB GO driver dependency using Dep results in an error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Running `dep` command I get the error below.

      dep ensure -add github.com/mongodb/mongo-go-driver

      Fetching sources...

      Solving failure: No versions of github.com/mongodb/mongo-go-driver met constraints:
              v0.0.2: Could not introduce github.com/mongodb/mongo-go-driver@v0.0.2, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
              v0.0.1: Could not introduce github.com/mongodb/mongo-go-driver@v0.0.1, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
              master: Could not introduce github.com/mongodb/mongo-go-driver@master, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
              71: Could not introduce github.com/mongodb/mongo-go-driver@71, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
              GODRIVER-101: Could not introduce github.com/mongodb/mongo-go-driver@GODRIVER-101, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
              GODRIVER-33: Could not introduce github.com/mongodb/mongo-go-driver@GODRIVER-33, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
              command-wireprotocol-redesign: Could not introduce github.com/mongodb/mongo-go-driver@command-wireprotocol-redesign, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
              meta/config: Could not introduce github.com/mongodb/mongo-go-driver@meta/config, as its subpackage github.com/mongodb/mongo-go-driver does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            akhettar Ayache Khettar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: