Skip to content

Instantly share code, notes, and snippets.

@iambowen
Created July 2, 2018 08:25
Show Gist options
  • Save iambowen/4820ddb515000e211d5e50e49d13c0c4 to your computer and use it in GitHub Desktop.
Save iambowen/4820ddb515000e211d5e50e49d13c0c4 to your computer and use it in GitHub Desktop.
go chassis user example build error info
../../../go/src/github.com/ServiceComb/go-chassis/auth/auth.go:21:2: cannot find package "github.com/ServiceComb/auth" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/auth (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/auth (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/auth (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/archaius/archaius.go:10:2: cannot find package "github.com/ServiceComb/go-archaius" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-archaius (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/archaius/archaius.go:11:2: cannot find package "github.com/ServiceComb/go-archaius/core" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius/core (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius/core (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-archaius/core (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/router/cse/router_manager.go:8:2: cannot find package "github.com/ServiceComb/go-archaius/core/config-manager" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius/core/config-manager (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius/core/config-manager (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-archaius/core/config-manager (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/router/cse/router_manager.go:9:2: cannot find package "github.com/ServiceComb/go-archaius/core/event-system" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius/core/event-system (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius/core/event-system (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-archaius/core/event-system (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/config-center/config_center.go:20:2: cannot find package "github.com/ServiceComb/go-archaius/sources/configcenter-source" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius/sources/configcenter-source (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius/sources/configcenter-source (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-archaius/sources/configcenter-source (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/archaius/archaius.go:12:2: cannot find package "github.com/ServiceComb/go-archaius/sources/file-source" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius/sources/file-source (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius/sources/file-source (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-archaius/sources/file-source (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/archaius/archaius.go:13:2: cannot find package "github.com/ServiceComb/go-archaius/sources/memory-source" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-archaius/sources/memory-source (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-archaius/sources/memory-source (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-archaius/sources/memory-source (from $GOPATH)
main.go:10:2: cannot find package "github.com/ServiceComb/go-chassis/examples/user/api" in any of:
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-chassis/examples/user/api (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-chassis/examples/user/api (from $GOPATH)
main.go:11:2: cannot find package "github.com/ServiceComb/go-chassis/examples/user/db" in any of:
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-chassis/examples/user/db (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-chassis/examples/user/db (from $GOPATH)
main.go:12:2: cannot find package "github.com/ServiceComb/go-chassis/examples/user/db/mongodb" in any of:
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-chassis/examples/user/db/mongodb (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-chassis/examples/user/db/mongodb (from $GOPATH)
main.go:21:2: cannot find package "github.com/ServiceComb/go-chassis/examples/user/users" in any of:
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-chassis/examples/user/users (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-chassis/examples/user/users (from $GOPATH)
main.go:17:2: cannot find package "github.com/ServiceComb/go-chassis/third_party/forked/go-micro/server/highway" in any of:
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-chassis/third_party/forked/go-micro/server/highway (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-chassis/third_party/forked/go-micro/server/highway (from $GOPATH)
main.go:18:2: cannot find package "github.com/ServiceComb/go-chassis/third_party/forked/go-micro/transport/tcp" in any of:
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-chassis/third_party/forked/go-micro/transport/tcp (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-chassis/third_party/forked/go-micro/transport/tcp (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/registry/servicecenter/cache.go:13:2: cannot find package "github.com/ServiceComb/go-sc-client" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-sc-client (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-sc-client (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-sc-client (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/registry/servicecenter/cache.go:14:2: cannot find package "github.com/ServiceComb/go-sc-client/model" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/go-sc-client/model (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/go-sc-client/model (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/go-sc-client/model (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/registry/pilot/pilot_client.go:13:2: cannot find package "github.com/ServiceComb/http-client" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/http-client (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/http-client (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/http-client (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/lager/lager.go:9:2: cannot find package "github.com/ServiceComb/paas-lager" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/paas-lager (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/paas-lager (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/paas-lager (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/lager/lager.go:10:2: cannot find package "github.com/ServiceComb/paas-lager/third_party/forked/cloudfoundry/lager" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/ServiceComb/paas-lager/third_party/forked/cloudfoundry/lager (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/ServiceComb/paas-lager/third_party/forked/cloudfoundry/lager (from $GOROOT)
/Users/praise/go/src/github.com/ServiceComb/paas-lager/third_party/forked/cloudfoundry/lager (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/tracing/collector.go:8:2: cannot find package "github.com/apache/thrift/lib/go/thrift" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/apache/thrift/lib/go/thrift (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/apache/thrift/lib/go/thrift (from $GOROOT)
/Users/praise/go/src/github.com/apache/thrift/lib/go/thrift (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/config/lb_config.go:5:2: cannot find package "github.com/cenkalti/backoff" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/cenkalti/backoff (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/cenkalti/backoff (from $GOROOT)
/Users/praise/go/src/github.com/cenkalti/backoff (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/metrics/metric.go:13:2: cannot find package "github.com/emicklei/go-restful" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/emicklei/go-restful (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/emicklei/go-restful (from $GOROOT)
/Users/praise/go/src/github.com/emicklei/go-restful (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/server/restful/restful_server.go:24:2: cannot find package "github.com/emicklei/go-restful-swagger12" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/emicklei/go-restful-swagger12 (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/emicklei/go-restful-swagger12 (from $GOROOT)
/Users/praise/go/src/github.com/emicklei/go-restful-swagger12 (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/pkg/istio/client/pilotv2.go:9:2: cannot find package "github.com/envoyproxy/go-control-plane/envoy/api/v2" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2 (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/envoyproxy/go-control-plane/envoy/api/v2 (from $GOROOT)
/Users/praise/go/src/github.com/envoyproxy/go-control-plane/envoy/api/v2 (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/pkg/istio/client/pilotv2.go:10:2: cannot find package "github.com/envoyproxy/go-control-plane/envoy/api/v2/core" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/envoyproxy/go-control-plane/envoy/api/v2/core (from $GOROOT)
/Users/praise/go/src/github.com/envoyproxy/go-control-plane/envoy/api/v2/core (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/router/pilot/translate.go:6:2: cannot find package "github.com/envoyproxy/go-control-plane/envoy/api/v2/route" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/route (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/envoyproxy/go-control-plane/envoy/api/v2/route (from $GOROOT)
/Users/praise/go/src/github.com/envoyproxy/go-control-plane/envoy/api/v2/route (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/pkg/istio/client/pilotv2.go:11:2: cannot find package "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v2" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/envoyproxy/go-control-plane/envoy/service/discovery/v2 (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/envoyproxy/go-control-plane/envoy/service/discovery/v2 (from $GOROOT)
/Users/praise/go/src/github.com/envoyproxy/go-control-plane/envoy/service/discovery/v2 (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/client/highway/pb/highway.pb.go:18:8: cannot find package "github.com/golang/protobuf/proto" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/golang/protobuf/proto (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/golang/protobuf/proto (from $GOROOT)
/Users/praise/go/src/github.com/golang/protobuf/proto (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/registry/cache_index.go:5:2: cannot find package "github.com/hashicorp/go-version" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/hashicorp/go-version (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/hashicorp/go-version (from $GOROOT)
/Users/praise/go/src/github.com/hashicorp/go-version (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/tracing/tracer_manager.go:12:2: cannot find package "github.com/opentracing/opentracing-go" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/opentracing/opentracing-go (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/opentracing/opentracing-go (from $GOROOT)
/Users/praise/go/src/github.com/opentracing/opentracing-go (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/handler/tracing_handler.go:17:2: cannot find package "github.com/opentracing/opentracing-go/ext" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/opentracing/opentracing-go/ext (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/opentracing/opentracing-go/ext (from $GOROOT)
/Users/praise/go/src/github.com/opentracing/opentracing-go/ext (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/tracing/collector.go:9:2: cannot find package "github.com/openzipkin/zipkin-go-opentracing" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/openzipkin/zipkin-go-opentracing (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/openzipkin/zipkin-go-opentracing (from $GOROOT)
/Users/praise/go/src/github.com/openzipkin/zipkin-go-opentracing (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/tracing/collector.go:10:2: cannot find package "github.com/openzipkin/zipkin-go-opentracing/thrift/gen-go/zipkincore" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/openzipkin/zipkin-go-opentracing/thrift/gen-go/zipkincore (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/openzipkin/zipkin-go-opentracing/thrift/gen-go/zipkincore (from $GOROOT)
/Users/praise/go/src/github.com/openzipkin/zipkin-go-opentracing/thrift/gen-go/zipkincore (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/registry/cache.go:5:2: cannot find package "github.com/patrickmn/go-cache" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/patrickmn/go-cache (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/patrickmn/go-cache (from $GOROOT)
/Users/praise/go/src/github.com/patrickmn/go-cache (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/metrics/metric.go:14:2: cannot find package "github.com/prometheus/client_golang/prometheus" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/prometheus/client_golang/prometheus (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/prometheus/client_golang/prometheus (from $GOROOT)
/Users/praise/go/src/github.com/prometheus/client_golang/prometheus (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/metrics/metric.go:15:2: cannot find package "github.com/prometheus/client_golang/prometheus/promhttp" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/prometheus/client_golang/prometheus/promhttp (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/prometheus/client_golang/prometheus/promhttp (from $GOROOT)
/Users/praise/go/src/github.com/prometheus/client_golang/prometheus/promhttp (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/metrics/metric.go:16:2: cannot find package "github.com/rcrowley/go-metrics" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/rcrowley/go-metrics (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/rcrowley/go-metrics (from $GOROOT)
/Users/praise/go/src/github.com/rcrowley/go-metrics (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/handler/fault_inject_handler.go:15:2: cannot find package "github.com/valyala/fasthttp" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/github.com/valyala/fasthttp (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/github.com/valyala/fasthttp (from $GOROOT)
/Users/praise/go/src/github.com/valyala/fasthttp (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/qpslimiter/qps_limiter.go:10:2: cannot find package "go.uber.org/ratelimit" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/go.uber.org/ratelimit (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/go.uber.org/ratelimit (from $GOROOT)
/Users/praise/go/src/go.uber.org/ratelimit (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/pkg/istio/client/pilotv2.go:12:2: cannot find package "google.golang.org/grpc" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/google.golang.org/grpc (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/google.golang.org/grpc (from $GOROOT)
/Users/praise/go/src/google.golang.org/grpc (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/config/model/circuit_breaker.go:4:2: cannot find package "gopkg.in/yaml.v2" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/gopkg.in/yaml.v2 (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/gopkg.in/yaml.v2 (from $GOROOT)
/Users/praise/go/src/gopkg.in/yaml.v2 (from $GOPATH)
../../../go/src/github.com/ServiceComb/go-chassis/core/tls/tls.go:14:2: cannot find package "k8s.io/apimachinery/pkg/util/sets" in any of:
/Users/praise/go/src/github.com/ServiceComb/go-chassis/vendor/k8s.io/apimachinery/pkg/util/sets (vendor tree)
/usr/local/Cellar/go/1.8/libexec/src/k8s.io/apimachinery/pkg/util/sets (from $GOROOT)
/Users/praise/go/src/k8s.io/apimachinery/pkg/util/sets (from $GOPATH)
@iambowen
Copy link
Author

iambowen commented Jul 2, 2018

github.com/ServiceComb/go-chassis/examples/user/users 這些都不見了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment