[GH-ISSUE #1146] Compile error #897

Closed
opened 2026-05-05 12:34:11 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @a-wing on GitHub (Mar 20, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1146

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.25.1

What operating system and processor architecture are you using (go env)?
amd64

$ go version
go version go1.12.1 linux/amd64

$ export GOPATH=`pwd`"/build"

$ make all  
go fmt ./...
go: finding github.com/fatedier/kcp-go v0.0.0-20171023144637-cd167d2f15f4
go: github.com/fatedier/kcp-go@v0.0.0-20171023144637-cd167d2f15f4: unknown revision cd167d2f15f4
go: error loading module requirements
make: *** [Makefile:18: fmt] Error 1
Originally created by @a-wing on GitHub (Mar 20, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1146 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.25.1 **What operating system and processor architecture are you using (`go env`)?** amd64 ``` $ go version go version go1.12.1 linux/amd64 $ export GOPATH=`pwd`"/build" $ make all go fmt ./... go: finding github.com/fatedier/kcp-go v0.0.0-20171023144637-cd167d2f15f4 go: github.com/fatedier/kcp-go@v0.0.0-20171023144637-cd167d2f15f4: unknown revision cd167d2f15f4 go: error loading module requirements make: *** [Makefile:18: fmt] Error 1 ```
Author
Owner

@fatedier commented on GitHub (Mar 20, 2019):

这个 repo 的 commit log 有改动,可以使用 go build -mod=vendor 来编译,依赖包都在 vendor 目录下。
下个版本会同步这一修改。

<!-- gh-comment-id:474746405 --> @fatedier commented on GitHub (Mar 20, 2019): 这个 repo 的 commit log 有改动,可以使用 go build -mod=vendor 来编译,依赖包都在 vendor 目录下。 下个版本会同步这一修改。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: github-starred/frp#897
No description provided.