You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
I used the GitHub search to find a similar issue and didn't find it.
I searched the documentation, with the integrated search.
I already read the docs and didn't find an answer.
Homebox Version
main
What is the issue you are experiencing?
When executing task pr the task fails with the following error message
node ➜ /workspaces/homebox (add-currentcy-chf) $ task pr
task: [db:generate] cd backend/internal/ && go generate ./... \
--template=./data/ent/schema/templates/has_id.tmpl
task: [generate] cd backend/app/api/static && swag fmt --dir=../
task: [generate] cd backend/app/api/static && swag init --dir=../,../../../internal,../../../pkgs
2023/02/26 12:42:57 Generate swagger docs....
2023/02/26 12:42:57 Generate general API Info, search dir:../
2023/02/26 12:42:57 Generate general API Info, search dir:../../../internal
2023/02/26 12:42:57 warning: failed to get package name in dir: ../../../internal, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /workspaces/homebox/backend/internal
2023/02/26 12:42:57 Generate general API Info, search dir:../../../pkgs
2023/02/26 12:42:57 warning: failed to get package name in dir: ../../../pkgs, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /workspaces/homebox/backend/pkgs
2023/02/26 12:42:57 Generating v1.ApiSummary
2023/02/26 12:42:57 Generating v1.Build
2023/02/26 12:42:57 Generating v1.ActionAmountResult
2023/02/26 12:42:57 ParseComment error in file /workspaces/homebox/backend/app/api/handlers/v1/v1_ctrl_assets.go :cannot find type definition: repo.PaginationResult[repo.ItemSummary]
task: Failed to run task "pr": task: Failed to run task "generate": exit status 1
task setup was used before to install dependencies.
How can the maintainer reproduce the issue?
setup the dev-container on a fresh environment use task setup then try task pr
Deployment
Docker (Windows)
Deployment Details
No response
The text was updated successfully, but these errors were encountered:
❯ task pr
task: Task "db:generate" is up to date
task: [generate] cd backend/app/api/static && swag fmt --dir=../
task: [generate] cd backend/app/api/static && swag init --dir=../,../../../internal,../../../pkgs
2023/05/08 14:11:54 Generate swagger docs....
2023/05/08 14:11:54 Generate general API Info, search dir:../
2023/05/08 14:11:54 Generate general API Info, search dir:../../../internal
2023/05/08 14:11:54 warning: failed to get package name in dir: ../../../internal, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /Users/vincent/Documents/Github/homebox/backend/internal
2023/05/08 14:11:54 Generate general API Info, search dir:../../../pkgs
2023/05/08 14:11:54 warning: failed to get package name in dir: ../../../pkgs, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /Users/vincent/Documents/Github/homebox/backend/pkgs
2023/05/08 14:11:54 Generating v1.ApiSummary
2023/05/08 14:11:54 Generating v1.Build
2023/05/08 14:11:54 Generating v1.ActionAmountResult
2023/05/08 14:11:54 ParseComment error in file /Users/vincent/Documents/Github/homebox/backend/app/api/handlers/v1/v1_ctrl_assets.go :cannot find type definition: repo.PaginationResult[repo.ItemSummary]
task: Failed to run task "pr": task: Failed to run task "generate": exit status 1
task: Failed to run task "pr": task: Failed to run task "generate": exit status 1
First Check
Homebox Version
main
What is the issue you are experiencing?
When executing
task pr
the task fails with the following error messagetask setup
was used before to install dependencies.How can the maintainer reproduce the issue?
setup the dev-container on a fresh environment use
task setup
then trytask pr
Deployment
Docker (Windows)
Deployment Details
No response
The text was updated successfully, but these errors were encountered: