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就行了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章