From 039b465b750418a5669b54177508122286993c65 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 21 Jun 2019 00:47:42 -0600 Subject: [PATCH] add common issue --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 7f8752f..8dcd0a5 100644 --- a/README.md +++ b/README.md @@ -176,3 +176,20 @@ Shows the most recent commit. git rev-parse HEAD # 0000000000000000000000000000000000000000 ``` + +# Errors + +### cannot find package "." + +```txt +package git.rootprojects.org/root/go-gitver: cannot find package "." in: + /Users/me/go-example/vendor/git.rootprojects.org/root/go-gitver +cmd/example/example.go:1: running "go": exit status 1 +``` + +You forgot to update deps and re-vendor: + +```bash +go mod tidy +go mod vendor +```