[GH-ISSUE #1075] Could not get some modules. #844

Closed
opened 2026-05-05 12:32:21 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @kuoruan on GitHub (Feb 2, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1075

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

...

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

OSX

Configures you used:

...

Steps to reproduce the issue:

go list -m all

Describe the results you received:

go: finding github.com/hashicorp/yamux v0.0.0-20180314200745-2658be15c5f0
go: github.com/hashicorp/yamux@v0.0.0-20180314200745-2658be15c5f0: unknown revision 2658be15c5f0
go: error loading module requirements

Describe the results you expected:

Download all the modules and build.

Additional information you deem important (e.g. issue happens only occasionally):

go version  
go version go1.11.5 darwin/amd64

Can you point out what caused this issue (optional)

Bad module version?

Originally created by @kuoruan on GitHub (Feb 2, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1075 **What version of frp are you using (./frpc -v or ./frps -v)?** ... **What operating system and processor architecture are you using (`go env`)?** OSX **Configures you used:** ... **Steps to reproduce the issue:** ```go list -m all``` **Describe the results you received:** ``` go: finding github.com/hashicorp/yamux v0.0.0-20180314200745-2658be15c5f0 go: github.com/hashicorp/yamux@v0.0.0-20180314200745-2658be15c5f0: unknown revision 2658be15c5f0 go: error loading module requirements ``` **Describe the results you expected:** Download all the modules and build. **Additional information you deem important (e.g. issue happens only occasionally):** ``` go version go version go1.11.5 darwin/amd64 ``` **Can you point out what caused this issue (optional)** Bad module version?
Author
Owner

@ogimenezb commented on GitHub (Feb 11, 2019):

Hi,

Add this to your mod file at the end:

replace github.com/hashicorp/yamux => github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d

replace github.com/templexxx/reedsolomon => github.com/templexxx/reedsolomon v0.0.0-20170927015403-7092926d7d05
<!-- gh-comment-id:462297864 --> @ogimenezb commented on GitHub (Feb 11, 2019): Hi, Add this to your mod file at the end: ``` replace github.com/hashicorp/yamux => github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d replace github.com/templexxx/reedsolomon => github.com/templexxx/reedsolomon v0.0.0-20170927015403-7092926d7d05 ```
Author
Owner

@kuoruan commented on GitHub (Feb 12, 2019):

Thanks.

<!-- gh-comment-id:462704626 --> @kuoruan commented on GitHub (Feb 12, 2019): Thanks.
Author
Owner

@francesco-gallo commented on GitHub (Feb 13, 2019):

I think this bug should be addressed in the readme or in the branch, I would't be able to compile without this fix.

<!-- gh-comment-id:463262592 --> @francesco-gallo commented on GitHub (Feb 13, 2019): I think this bug should be addressed in the readme or in the branch, I would't be able to compile without this fix.
Author
Owner

@kuoruan commented on GitHub (Feb 13, 2019):

go get github.com/hashicorp/yamux@master
go get github.com/templexxx/reedsolomon@master
<!-- gh-comment-id:463264458 --> @kuoruan commented on GitHub (Feb 13, 2019): ``` go get github.com/hashicorp/yamux@master go get github.com/templexxx/reedsolomon@master ```
Author
Owner

@jinmiaoluo commented on GitHub (Mar 7, 2019):

go get github.com/hashicorp/yamux@master

refer: https://golang.org/cmd/go/#hdr-Module_queries

<!-- gh-comment-id:470363202 --> @jinmiaoluo commented on GitHub (Mar 7, 2019): > go get github.com/hashicorp/yamux@master refer: https://golang.org/cmd/go/#hdr-Module_queries
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#844
No description provided.