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

error on install #13

Closed
nkev opened this issue Mar 21, 2019 · 5 comments
Closed

error on install #13

nkev opened this issue Mar 21, 2019 · 5 comments

Comments

@nkev
Copy link

nkev commented Mar 21, 2019

Using Macbook with go1.12 darwin/amd64.

The github.com/uudashr folder does not exist in my GOPATH. When I run go get -u github.com/uudashr/gopkgs/cmd/gopkgs the files are downloaded but gopkgs is not installed:

$ go get -u github.com/uudashr/gopkgs/cmd/gopkgs
# cd /go/src/github.com/pkg/errors; git pull --ff-only
error: Your local changes to the following files would be overwritten by merge:
        .travis.yml
Please commit your changes or stash them before you merge.
Aborting
package github.com/pkg/errors: exit status 1

VS Code also cannot install it. Dropbox is paused and cannot affect the .travis.yml file.
Has anyone seen this before?

@pk-r
Copy link

pk-r commented Mar 23, 2019

Same here, any update?

@uudashr
Copy link
Owner

uudashr commented Mar 25, 2019

@nkev @Enlightments Try to delete the gopkgs source folder and re-install

rm -rf $(go env GOPATH)/src/github.com/uudashr/gopkgs/cmd/gopkgs
go get -u github.com/uudashr/gopkgs/cmd/gopkgs

@nkev
Copy link
Author

nkev commented Mar 25, 2019

I tried that already. Result is the same.

@uudashr
Copy link
Owner

uudashr commented Mar 25, 2019

Sorry my mistake. @nkev The issue might on the github.com/pkg/errors

Try execute (make sure to do this outside the go module project directory):

rm -rf $(go env GOPATH)/src/github.com/uudashr/gopkgs/cmd/gopkgs
rm -rf $(go env GOPATH)/src/github.com/pkg/errors
rm -rf $(go env GOPATH)/src/github.com/karrick/godirwalk
rm $(go env GOPATH)/bin/gopkgs
go get -u github.com/uudashr/gopkgs/cmd/gopkgs

If that doesn't works let me see your env

$ go env
$ echo $GO111MODULE

@no-response
Copy link

no-response bot commented Apr 9, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants