payment icon indicating copy to clipboard operation
payment copied to clipboard

payment build error

Open macedemo opened this issue 8 years ago • 0 comments

Well I think the readme is a bit off on what you need to go get as needed to go get a lot of packages that where missing to perform the build. The one I got an error on and it's weave works:

$ go get github.com/weaveworks/common/middleware

github.com/weaveworks/common/logging

github.com/weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook: promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method) have Fire("github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error want Fire("github.com/sirupsen/logrus".Entry) error

and if you try to build payment get the same error: $ go build -o payment

github.com/weaveworks/common/logging

../../../../weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook: promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method) have Fire("github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error want Fire("github.com/sirupsen/logrus".Entry) error

macedemo avatar Nov 21 '17 19:11 macedemo