beego / bee

Bee is a tool for helping develop with beego app framework.
Apache License 2.0
1.45k stars 922 forks source link

bee tool install fail. #728

Closed cyg0618 closed 3 years ago

cyg0618 commented 4 years ago

system WSL2 ubuntu18.04

config :

go env

image

go get -v github.com/beego/bee

image

flycash commented 4 years ago

Could you try with go get -u github.com/beego/bee?

rkureel commented 4 years ago

I have tried both go get -u github.com/beego/bee and go get github.com/beego/bee. But both of them are giving the same error.

yvesjordan06 commented 4 years ago

Same errors!

flycash commented 3 years ago

The latest version is from "develop" branch and we use it to support develop-2.0. Could you try with "go get github.com/beego/bee@1.12.0"

yvesjordan06 commented 3 years ago

The latest version is from "develop" branch and we use it to support develop-2.0. Could you try with "go get github.com/beego/bee@1.12.0"

When i try to run the command "go get github.com/beego/bee@1.12.0" I get the following error

go: cannot use path@version syntax in GOPATH mode

bmcciscoding commented 3 years ago

I have same problems. But I installed bee manually.

1 download bee from github 2 build bee project: go build main.go 3 move exec to /Users/xxxx/go/bin 4 add follow line to your .zshrc file (or bash_profile)

export GOPATH=/Users/xxxx/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN

5 restart iterm

NuVivo314 commented 3 years ago

@yvesjordan06

export GO111MODULE=on
go get github.com/beego/bee@v1.12.0

Work on my install