You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Edit: I'm rewriting this issue as I did a poor attempt at explaining it the last time.)
When trying to link to a package that doesn't support gx (i.e., it doesn't contain a package.json) the gx-go link command will fail while trying to install it (with gx install).
cd $GOPATH/src/github.com/ipfs/go-ipfs
make install
go get github.com/dgraph-io/badger
export BADGER_HASH=QmdKhi5wUQyV9i3GcTyfUmpfTntWjXu8DcyT9HyNbznYrn
gx-go link $BADGER_HASH
# ERROR: Error: error during gx install: exit status 1
# Temporary workaround: copy `package.json` from the gx release to the cloned repo
wget https://ipfs.io/ipfs/$BADGER_HASH/badger/package.json -O $GOPATH/src/github.com/dgraph-io/badger/package.json
gx-go link $BADGER_HASH
The text was updated successfully, but these errors were encountered:
schomatis
changed the title
Allow gx-go link not to install the linked package (it itself is not a package)
Link to a non-gx package fails
May 10, 2018
ooooh, yeah, thats annoying... Maybe we should have gx-go link detect that the target package doesnt have the package.json and perform that step for you automatically.
(Edit: I'm rewriting this issue as I did a poor attempt at explaining it the last time.)
When trying to link to a package that doesn't support gx (i.e., it doesn't contain a
package.json
) thegx-go link
command will fail while trying to install it (withgx install
).The text was updated successfully, but these errors were encountered: