quiki icon indicating copy to clipboard operation
quiki copied to clipboard

Cannot find blackfriday

Open almereyda opened this issue 4 years ago • 2 comments

When attempting to install quiki with

go get github.com/cooper/quiki

as of https://quiki.app/get-started, it fails with

package github.com/russross/blackfriday/v2: cannot find package "github.com/russross/blackfriday/v2" in any of:
	/usr/lib/golang/src/github.com/russross/blackfriday/v2 (from $GOROOT)
	/home/yala/go/src/github.com/russross/blackfriday/v2 (from $GOPATH)

This is interesting, as the project is here at https://github.com/russross/blackfriday/ and it also has a tag for v2.0.1 ref. https://github.com/cooper/quiki/blob/master/go.sum#L72

Also

go get github.com/russross/blackfriday/v2

does not work. Its readme states to install it with

go get -u gopkg.in/russross/blackfriday.v2

Doing that also does not help to satisfy the dependency. Its readme also suggests to use dep or Glide for semantic versioning and package management.

almereyda avatar May 12 '20 05:05 almereyda

I've noticed also it does not work when running in GOPATH mode with the blackfriday v2 dependency. I believe it should work if you clone the repository and build it outside of GOPATH. Can you confirm?

cooper avatar May 12 '20 19:05 cooper

I think there's just something about the versioning in blackfriday that it does not like.

see: https://github.com/russross/blackfriday/issues/565 https://github.com/russross/blackfriday/issues/587

cooper avatar May 12 '20 19:05 cooper