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

When I try to install 1.2 version it returns an error #47

Closed
AkezhanOb1 opened this issue Dec 21, 2018 · 6 comments
Closed

When I try to install 1.2 version it returns an error #47

AkezhanOb1 opened this issue Dec 21, 2018 · 6 comments

Comments

@AkezhanOb1
Copy link

go get -u github.com/matcornic/hermes

../github.com/matcornic/hermes/hermes.go:8:2: cannot find package "github.com/russross/blackfriday/v2" in any of: /usr/local/go/src/github.com/russross/blackfriday/v2 (from $GOROOT) /go/src/github.com/russross/blackfriday/v2 (from $GOPATH)

@matcornic
Copy link
Owner

Hello @akamensky,

With go get, you will download latest version from master (so it's a 2.0).

Do you use go modules ?

  • If yes, use 2.0 and follow current README.
  • If not, use old 1.2.0 version (which uses Go Dep for dependency management)
    • Are your dependencies managed by a dependency manager like Dep or govendor ?
      • If yes, you have to set the version of Hermes to v1.2.0 in your configuration file.
      • If not (you would use your Gopath only), you have to checkout the tag version of Hermes

I strongly encourage you to use go modules or any other dependency manager

Have a nice day

@arxdsilva
Copy link

Im having the same problem, with go 1.11.2 while installing

@arxdsilva arxdsilva mentioned this issue Feb 7, 2019
@crazy-max
Copy link
Contributor

Same issue here with go 1.11.5

@arxdsilva
Copy link

@crazy-max my branch https://github.com/arxdsilva/hermes/ fixes it

@crazy-max
Copy link
Contributor

crazy-max commented Feb 13, 2019

@arxdsilva Yeah indeed, I have +1 your PR

EDIT: Argh there is a feature in this PR and travis stacks :/

@crazy-max
Copy link
Contributor

crazy-max commented Feb 13, 2019

A workaround is explained in russross/blackfriday#491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants