Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Windows setup #100

Open
Arteneko opened this issue Jan 1, 2020 · 3 comments
Open

Windows setup #100

Arteneko opened this issue Jan 1, 2020 · 3 comments

Comments

@Arteneko
Copy link

Arteneko commented Jan 1, 2020

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
@elvin-du
Copy link

I have the same error on my Mac computer.

@phachon
Copy link

phachon commented Feb 15, 2020

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.

@hipig
Copy link

hipig commented Mar 14, 2020

I have the same error on my computer.

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

No branches or pull requests

4 participants