[GH-ISSUE #21] Unable to cache modules needed for builds #80

Closed
opened 2026-03-07 19:58:12 +03:00 by kerem · 0 comments
Owner

Originally created by @shenghuang147 on GitHub (Aug 30, 2024).
Original GitHub issue: https://github.com/creamlike1024/EasyLPAC/issues/21

I'm in the process of packaging this project, but I need to build offline so I need to cache the modules, but since
github.com/creamlike1024/EasyLPAC@795b320f9c/go.mod (L38-L39)
makes it impossible for me to cache using go mod vendor

$ go mod vendor
go: EasyLPAC imports
        golang.design/x/clipboard imports
        golang.org/x/mobile/app imports
        golang.org/x/exp/shiny/driver/gldriver: ambiguous import: found package golang.org/x/exp/shiny/driver/gldriver in multiple modules.
        golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/driver/gldriver)
        golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/driver/gldriver)
go: EasyLPAC imports
        golang.design/x/clipboard imports
        golang.org/x/mobile/app imports
        golang.org/x/exp/shiny/screen: ambiguous import: found package golang.org/x/exp/shiny/screen in multiple modules.
        golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/screen)
        golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/screen)

Originally created by @shenghuang147 on GitHub (Aug 30, 2024). Original GitHub issue: https://github.com/creamlike1024/EasyLPAC/issues/21 I'm in the process of packaging this project, but I need to build offline so I need to cache the modules, but since https://github.com/creamlike1024/EasyLPAC/blob/795b320f9c2e228df416cf6fef8b90ebca9d5220/go.mod#L38-L39 makes it impossible for me to cache using go mod vendor ``` $ go mod vendor go: EasyLPAC imports golang.design/x/clipboard imports golang.org/x/mobile/app imports golang.org/x/exp/shiny/driver/gldriver: ambiguous import: found package golang.org/x/exp/shiny/driver/gldriver in multiple modules. golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/driver/gldriver) golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/driver/gldriver) go: EasyLPAC imports golang.design/x/clipboard imports golang.org/x/mobile/app imports golang.org/x/exp/shiny/screen: ambiguous import: found package golang.org/x/exp/shiny/screen in multiple modules. golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/screen) golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/screen) ```
kerem closed this issue 2026-03-07 19:58:12 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
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/EasyLPAC#80
No description provided.