Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Unable to install #21

@johntdyer

Description

@johntdyer

Appears to be some issue w/ spf13 when installing on my system

  • OSX 10.11.4

  • go version go1.6 darwin/amd64

    go get -d -v ./...
    echo errors github.com/stretchr/testify/assert testing  | xargs -n1 go get -d
    go build -o bin/consul-cli
    # github.com/spf13/cobra
    ../../spf13/cobra/bash_completions.go:373: flag.Annotations undefined (type *pflag.Flag has no field or method Annotations)
    ../../spf13/cobra/bash_completions.go:387: flag.Annotations undefined (type *pflag.Flag has no field or method Annotations)
    ../../spf13/cobra/bash_completions.go:443: flag.Annotations undefined (type *pflag.Flag has no field or method Annotations)
    ../../spf13/cobra/bash_completions.go:571: flags.SetAnnotation undefined (type *pflag.FlagSet has no field or method SetAnnotation)
    ../../spf13/cobra/bash_completions.go:595: flags.SetAnnotation undefined (type *pflag.FlagSet has no field or method SetAnnotation)
    ../../spf13/cobra/bash_completions.go:601: flags.SetAnnotation undefined (type *pflag.FlagSet has no field or method SetAnnotation)
    ../../spf13/cobra/command.go:117: undefined: pflag.NormalizedName
    ../../spf13/cobra/command.go:182: undefined: pflag.NormalizedName
    ../../spf13/cobra/command.go:183: c.Flags().SetNormalizeFunc undefined (type *pflag.FlagSet has no field or method SetNormalizeFunc)
    ../../spf13/cobra/command.go:1012: undefined: pflag.NormalizedName
    ../../spf13/cobra/command.go:183: too many errors
    make: *** [build] Error 2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions