Closed lee-dong closed 3 months ago
在使用v4版本的时候[github.com/pion/webrtc/v4 v4.0.0-beta.22],会报如下错误: Build Error: go build -o /data/app/golang/speech-rtc/__debug_bin243354781 -gcflags all=-N -l . vendor/golang.org/x/crypto/curve25519/curve25519.go:13:8: cannot find package "." in: /data/app/golang/speech-rtc/vendor/crypto/ecdh (exit status 1)
那是应该你使用的 golang.org/x/crypto v0.25.0 版本 解决方法: 将crypto 降到 v0.24.0 版本即可 go get golang.org/x/crypto@v0.24.0
What version of Golang are you using @lee-dong ?
Hi @lee-dong
Hopefully upgrading Go versions helped. If you are still having trouble please re-open thank you!
在使用v4版本的时候[github.com/pion/webrtc/v4 v4.0.0-beta.22],会报如下错误: Build Error: go build -o /data/app/golang/speech-rtc/__debug_bin243354781 -gcflags all=-N -l . vendor/golang.org/x/crypto/curve25519/curve25519.go:13:8: cannot find package "." in: /data/app/golang/speech-rtc/vendor/crypto/ecdh (exit status 1)
那是应该你使用的 golang.org/x/crypto v0.25.0 版本 解决方法: 将crypto 降到 v0.24.0 版本即可 go get golang.org/x/crypto@v0.24.0