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找到自己缺失的项目,并下载
bee run出现Failed to build the application.... cannot find package..._第1张图片

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

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

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

你可能感兴趣的:(go)