riot icon indicating copy to clipboard operation
riot copied to clipboard

Windows setup

Open Arteneko opened this issue 5 years ago • 3 comments

I tried to pull the dependency into my project, on my windows computer.

I obtained an error because riot pulls in go-systemd, for some reason.

Why is systemd required? And is there a solution to avoid this error?

E:\Dev\git\artemix-search>go get github.com/go-ego/riot
go: finding github.com/go-ego/riot latest
go: downloading github.com/go-ego/riot v0.0.0-20191215221243-bdbc256e4cbd
go: extracting github.com/go-ego/riot v0.0.0-20191215221243-bdbc256e4cbd
go get: github.com/go-ego/[email protected] requires
        github.com/coreos/[email protected]: invalid version: unknown revision 000000000000

Arteneko avatar Jan 01 '20 19:01 Arteneko

I have the same error on my Mac computer.

elvin-du avatar Jan 30 '20 02:01 elvin-du

I have the same error

I found the go mod replace document

cmd/go/alldocs.go
Exclude and replace apply only in the main module's go.mod and are ignored
in dependencies.

If we also use go mod in our project (import riot),riot/go.mod replace are ignored. so report error.

some solutions:

  1. create a new project base on vendor/github.com/coreos/go-systemd , and update code go-systemd import path

  2. upgrade go-systemd version lateast. remove repalce

@vcaesar Hope to have time to solve it as soon as possible

Thanks.

phachon avatar Feb 15 '20 14:02 phachon

I have the same error on my computer.

hipig avatar Mar 14 '20 16:03 hipig