Skip to content

make on go v1.14: flag provided but not defined: -mod #3699

Closed
@tstromberg

Description

If you run make with go go1.14rc1, it errors with:

hack/generate-statik.sh
Installing go-licenses
/var/folders/n1/qxvd9kc11w15mc4qv6g43x80000kt3/T/tmp.wlxi6kFN ~/src/skaffold
go: creating new go.mod: module tmp
flag provided but not defined: -mod
usage: go get [-d] [-t] [-u] [-v] [-insecure] [build flags] [packages]
Run 'go help get' for details.
make: *** [generate-statik] Error 2

This flag was removed in https://go-review.googlesource.com/c/go/+/198438/

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions