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

运行起来报 Failed to build the application: WebIM.go:21:2: cannot find package "github.com/beego/samples/WebIM/routers" in any of:这个错 #26

Open
douhaopeng opened this issue Apr 29, 2018 · 6 comments

Comments

@douhaopeng
Copy link

我改了一下routers包的地址 改为github.com/beego/samples/tree/master/WebIM/routers 发现还是不好使 问一下大佬们该如何解决

@fancyzhou
Copy link

同问,我也遇到这个问题了

@839891627
Copy link

将所有import报错的地方,例如
"github.com/beego/samples/WebIM/controllers"改成 "samples/WebIM/controllers" 即可

@WilliamHrq
Copy link

下载的zip解压之后文件夹名字是"Samples-Master",而import里是".../samples/...",所以把你解压的文件更名为"Samples"再把前面的"github.com/beego/“删除即可。

@douhaopeng
Copy link
Author

Thanks for your help

@coding-now
Copy link

修改下GOPATH 的配置:把源码文件目录追加上再试试

@mini443
Copy link

mini443 commented May 13, 2020

批量替换下代码,github.com/beego/samples/WebIM/ 改为 samples/WebIM ,路径问题

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

6 participants