[GH-ISSUE #434] [BUG] go install don't work for tools asynq #2219

Closed
opened 2026-03-15 19:44:28 +03:00 by kerem · 1 comment
Owner

Originally created by @NuVivo314 on GitHub (Apr 13, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/434

Originally assigned to: @hibiken on GitHub.

Describe the bug
the go install don't work after v0.23.0
To Reproduce

$ go install github.com/hibiken/asynq/tools/asynq@latest 
go: downloading github.com/hibiken/asynq/tools v0.0.0-20220412132242-c438339c3d0f
go: github.com/hibiken/asynq/tools/asynq@latest (in github.com/hibiken/asynq/tools@v0.0.0-20220412132242-c438339c3d0f):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

and is i force the version with @


$ go install github.com/hibiken/asynq/tools/asynq@v0.22.1
go: github.com/hibiken/asynq/tools/asynq@v0.22.1: module github.com/hibiken/asynq@v0.22.1 found, but does not contain package github.com/hibiken/asynq/tools/asynq

Expected behavior

install asynq lastest version

Environment (please complete the following information):

  • OS: Linux / docker build
  • Version of asynq package latest(v0.23.0)
Originally created by @NuVivo314 on GitHub (Apr 13, 2022). Original GitHub issue: https://github.com/hibiken/asynq/issues/434 Originally assigned to: @hibiken on GitHub. **Describe the bug** the `go install` don't work after `v0.23.0` **To Reproduce** ``` $ go install github.com/hibiken/asynq/tools/asynq@latest go: downloading github.com/hibiken/asynq/tools v0.0.0-20220412132242-c438339c3d0f go: github.com/hibiken/asynq/tools/asynq@latest (in github.com/hibiken/asynq/tools@v0.0.0-20220412132242-c438339c3d0f): The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module. ``` and is i force the version with @ ``` $ go install github.com/hibiken/asynq/tools/asynq@v0.22.1 go: github.com/hibiken/asynq/tools/asynq@v0.22.1: module github.com/hibiken/asynq@v0.22.1 found, but does not contain package github.com/hibiken/asynq/tools/asynq ``` **Expected behavior** install `asynq` lastest version **Environment (please complete the following information):** - OS: Linux / docker build - Version of `asynq` package latest(v0.23.0)
kerem 2026-03-15 19:44:28 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@hibiken commented on GitHub (Apr 13, 2022):

Should be fixed now. Thanks for reporting!

<!-- gh-comment-id:1098053226 --> @hibiken commented on GitHub (Apr 13, 2022): Should be fixed now. Thanks for reporting!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#2219
No description provided.