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

mac编译RTCSignalServer失败 #11

Open
roudunyy opened this issue Jan 17, 2020 · 1 comment
Open

mac编译RTCSignalServer失败 #11

roudunyy opened this issue Jan 17, 2020 · 1 comment

Comments

@roudunyy
Copy link

报错如下:
GOPATH = /Users/kidjason/Projects/Proj1
making for mac
src/rtc.signal.com/app/main.go:9:2: cannot find package "rtc.signal.com/config" in any of:
/usr/local/go/src/rtc.signal.com/config (from $GOROOT)
/Users/kidjason/Projects/Proj1/src/rtc.signal.com/config (from $GOPATH)
src/rtc.signal.com/app/main.go:10:2: cannot find package "rtc.signal.com/router" in any of:
/usr/local/go/src/rtc.signal.com/router (from $GOROOT)
/Users/kidjason/Projects/Proj1/src/rtc.signal.com/router (from $GOPATH)
make[1]: *** [mac] Error 1
make: *** [all] Error 2

@sunnyswag
Copy link

#10 (comment)
在另一个 issue 里面有解决。
需要禁用 Go Modules 并启用 GOPATH 模式编译。猜测是项目版本比 1.11 低,Module 编译是 1.11 引入的

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

2 participants