bee run出现Failed to build the application.... cannot find package...

bee run出现

0003 Failed to build the application: ..\github. com\astaxie\beego\staticfile.
go:31:2: cannot find package "github.com/hashicorp/golang-lru" in any of:

此问题的出现多半是因为最开始下载beego包时,没有下载完整造成的,所以要把未下载完的包补齐。

如我出现的问题是 github.com/hashicorp/golang-lru这个包缺失,去GitHub找到自己缺失的项目,并下载

在C:\Users\26825\go\src\github.com\hashicorp这个目录下

git clone https://github.com/hashicorp/golang-lru.git

之后再运行运行bee run就行了

猜你喜欢

转载自blog.csdn.net/weimeibuqieryu/article/details/106796399
今日推荐