wendal / gor

Golang编写的静态博客引擎
599 stars 146 forks source link

github.com/howeyc/fsnotify #121

Open JacksonTom opened 5 years ago

JacksonTom commented 5 years ago

go get github.com/howeyc/fsnotify before go install github.com/wendal/gor/gor

wendal commented 5 years ago

so ?

runeimp commented 4 years ago

@wendal the install fails on macOS 10.14 Mojave (and probably other systems as well) if you don't do the fsnotify install first. This needs to be added to the install docs.

The Error

$ go get -u github.com/wendal/gor
$ go install github.com/wendal/gor/gor
../.local/share/go/lib/src/github.com/wendal/gor/gor/gor.go:8:2: cannot find package "github.com/howeyc/fsnotify" in any of:
        /usr/local/Cellar/go/1.14/libexec/src/github.com/howeyc/fsnotify (from $GOROOT)
        /Users/runeimp/.local/share/go/lib/src/github.com/howeyc/fsnotify (from $GOPATH)

The Fix

$ go get -u github.com/wendal/gor
$ go get -u github.com/howeyc/fsnotify
$ go install github.com/wendal/gor/gor