Installation gives: can't load package: package code.gitea.io/tea: cannot find package "code.gitea.io/tea" #16

Closed
opened 2019-04-17 08:39:10 +00:00 by lunny · 5 comments
Owner

Author: @LittleColin

Whilst I nearly had tea working before, I've rebuilt my laptop, reinstalled golang and followed the readme. However when I run
go install code.gitea.io/tea

I get:

can't load package: package code.gitea.io/tea: cannot find package "code.gitea.io/tea" in any of:
        C:\Go\src\code.gitea.io\tea (from $GOROOT)
        C:\Users\(me)\go\src\code.gitea.io\tea (from $GOPATH)
Author: @LittleColin Whilst I nearly had tea working before, I've rebuilt my laptop, reinstalled golang and followed the readme. However when I run `go install code.gitea.io/tea` I get: ``` can't load package: package code.gitea.io/tea: cannot find package "code.gitea.io/tea" in any of: C:\Go\src\code.gitea.io\tea (from $GOROOT) C:\Users\(me)\go\src\code.gitea.io\tea (from $GOPATH) ```
Author
Owner

Author: @lunny

Just mkdir $GOPATH/src/code.gitea.ioand cd $GOPATH/src/code.gitea.io && git clone git@github.com:go-gitea/tea.git

Author: @lunny Just `mkdir $GOPATH/src/code.gitea.io`and `cd $GOPATH/src/code.gitea.io && git clone git@github.com:go-gitea/tea.git`
Author
Owner

Author: @root360-AndreasUlm

@LittleColin you can also run go get code.gitea.io/tea first. This command will download the required source code.

Author: @root360-AndreasUlm @LittleColin you can also run `go get code.gitea.io/tea` first. This command will download the required source code.
Author
Owner

Author: @biocyberman

go get code.gitea.io/tea is the way to go. The git clone approach still faces problem with missing dependencies.

Author: @biocyberman `go get code.gitea.io/tea` is the way to go. The `git clone` approach still faces problem with missing dependencies.
Author
Owner

Author: @lafriks

instructions should probably need to be updated

Author: @lafriks instructions should probably need to be updated
Author
Owner

Author: @lunny

resolved by #19

Author: @lunny resolved by #19
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#16
No description provided.