Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Conversation

@alok87
Copy link
Contributor

@alok87 alok87 commented Feb 20, 2020

I was following this document to build locally

https://github.com/ksync/ksync/blob/master/docs/development.md

It was failing with this error.

$ env | grep GO
GOROOT=/usr/local/go
GOPATH=/Users/alok87/gocode
$ go install cmd/*
can't load package: package cmd/ksync: package cmd/ksync is not in GOROOT (/Users/alok87/src/cmd/ksync)
can't load package: package cmd/radar: package cmd/radar is not in GOROOT (/Users/alok87/src/cmd/radar)

Adding a ./ fixes it.

$ go install ./cmd/*
works !

@alok87 alok87 changed the title Added . for it to able to resolve the path Added ./ for it to able to resolve the path Feb 20, 2020
@grampelberg grampelberg merged commit 1c3018e into ksync:master Feb 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants