Skip to content

build error: missing requirements #2

@artooro

Description

@artooro

Just did a fresh clone Tue Sep 21 12:42:46 2021 +0530 and getting the following build error when running the make command.

go build -o bin/kubedd .
kubedd/kubedd.go:23:2: package github.com/devtron-labs/silver-surfer/pkg imports github.com/mgutz/ansi from implicitly required module; to add missing requirements, run:
	go get github.com/mgutz/ansi@v0.0.0-20200706080929-d51e80ef957d
make: *** [build] Error 1

I ran the following command to resolve the issue.

go mod tidy
go mod vendor

After that make was able to run and the binary executes OK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions