Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Cannot find packages errors #13

@gmflau

Description

@gmflau

Got the following errors when running: $ operator-sdk build gmflau/memcached-operator:v0.0.1

Error: failed to build: (building memcached-operator...
pkg/stub/handler.go:10:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/action" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/action (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/action (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/action (from $GOPATH)
pkg/stub/handler.go:11:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/handler" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/handler (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/handler (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/handler (from $GOPATH)
pkg/stub/handler.go:12:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/query" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/query (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/query (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/query (from $GOPATH)
pkg/stub/handler.go:13:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/types" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/types (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/types (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/types (from $GOPATH)
)

Looks like the PR#12 will fix this problem.

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