Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BEEGO 安装之后找不到执行文件 #815

Open
HelloReboot opened this issue Mar 20, 2022 · 9 comments
Open

BEEGO 安装之后找不到执行文件 #815

HelloReboot opened this issue Mar 20, 2022 · 9 comments

Comments

@HelloReboot
Copy link

执行安装命令 go get -u github.com/beego/bee/v2
安装成功无报错但是就是找不到执行命令在哪?? $GOPATH/bin 里面没有 我也没设置GOBIN
image

$ go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\XXX\AppData\Local\go-build
set GOENV=C:\Users\XXX\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\XXX\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\XXX\GolandProjects\awesomeProject\go.mod
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\XXX\AppData\Local\Temp\go-build3681334442=/tmp/go-build
-gno-record-gcc-switches

@collinsmao
Copy link

我也是
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=H:\go-path\bin
set GOCACHE=H:\go-build
set GOENV=C:\Users\Collinsmao\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=H:\go-path\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=H:\go-path
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=F:\Golang
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=F:\Golang\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.18
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=G:\go\web\go.mod
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=H:\temp\go-build2774917523=/tmp/go-build -gno-record-gcc-switches

@kN6jq
Copy link

kN6jq commented Apr 20, 2022

windows 安装没有exe文件 帮忙解决一下
image

@aikego
Copy link

aikego commented May 10, 2022

哦这个问题 我刚通过
go install github.com/beego/bee/v2@develop
解决了,貌似 2.x 版本有问题

@xuzhiping7
Copy link

save my day !

我也一样,搞了半天,就是搞不懂并且找不到执行文件。

@askme-gpt
Copy link

也是醉了,第一步就运行不了,官方不改进下吗?

@flycash
Copy link
Collaborator

flycash commented Jun 13, 2022

这个跟 Bee 没什么关系,就是一个本地环境的问题

@sboy2000
Copy link

下载bee源码 自己编译一下 go build -o bee.exe 输出的bee.exe放在gopath的bin下就可以解决了

@flycash
Copy link
Collaborator

flycash commented Mar 22, 2023 via email

Baihhh pushed a commit to Baihhh/bee that referenced this issue Jul 5, 2023
…go#815)

* feat: add countdown when no captcha provider found

* fix: add countdown when sent code successfully
@JPSUYYDS
Copy link

JPSUYYDS commented Nov 8, 2023

哦这个问题 我刚通过 go install github.com/beego/bee/v2@develop 解决了,貌似 2.x 版本有问题

按照您这个可以了,谢谢

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

No branches or pull requests

9 participants