can not find package "github.com/Sirupsen/logrus" and more

285 views
Skip to first unread message

uday....@bridgeconn.com

unread,
Mar 21, 2018, 8:47:15 PM3/21/18
to golang-nuts
My environment setup is :
GOROOT = $HOME/go

After deploying my app, I am getting below error:
  00:18:59 make.1 | started with pid 17738
  00:18:59 make.1 | /var/app/staging/vendor:/var/app/staging
  00:18:59 make.1 | /var/app/staging
  00:18:59 make.1 | mkdir: created directory ‘bin’
  00:18:59 make.1 | mkdir: created directory ‘src’
  00:18:59 make.1 | mkdir: created directory ‘src/github.com
  00:18:59 make.1 | mkdir: created directory ‘src/github.com/dockarray1
  00:18:59 make.1 | ‘/var/app/staging/src/github.com/dockarray1/info-consumer’ -> ‘/var/app/staging’
  00:18:59 make.1 | make: Warning: File `Makefile' has modification time 18196 s in the future
  00:18:59 make.1 | \033[32;01m==> Building binary...\033[0m
  00:18:59 make.1 | application.go:19:2: cannot find package "github.com/Sirupsen/logrus" in any of:
  00:18:59 make.1 |     /opt/elasticbeanstalk/lib/go/src/github.com/Sirupsen/logrus (from $GOROOT)
  00:18:59 make.1 |     /var/app/staging/vendor/src/github.com/Sirupsen/logrus (from $GOPATH)
  00:18:59 make.1 |     /var/app/staging/src/github.com/Sirupsen/logrus
  00:18:59 make.1 | application.go:9:2: cannot find package "github.com/aws/aws-sdk-go/aws" in any of:
  00:18:59 make.1 |     /opt/elasticbeanstalk/lib/go/src/github.com/aws/aws-sdk-go/aws (from $GOROOT)
  00:18:59 make.1 |     /var/app/staging/vendor/src/github.com/aws/aws-sdk-go/aws (from $GOPATH)
  00:18:59 make.1 |     /var/app/staging/src/github.com/aws/aws-sdk-go/aws
  00:18:59 make.1 | application.go:10:2: cannot find package "github.com/aws/aws-sdk-go/aws/credentials" in any of:
  00:18:59 make.1 |     /opt/elasticbeanstalk/lib/go/src/github.com/aws/aws-sdk-go/aws/credentials (from $GOROOT)
  00:18:59 make.1 |     /var/app/staging/vendor/src/github.com/aws/aws-sdk-go/aws/credentials (from $GOPATH)
  00:18:59 make.1 |     /var/app/staging/src/github.com/aws/aws-sdk-go/aws/credentials
  00:18:59 make.1 | application.go:11:2: cannot find package "github.com/aws/aws-sdk-go/service/kinesis" in any of:
  00:18:59 make.1 |     /opt/elasticbeanstalk/lib/go/src/github.com/aws/aws-sdk-go/service/kinesis (from $GOROOT)
  00:18:59 make.1 |     /var/app/staging/vendor/src/github.com/aws/aws-sdk-go/service/kinesis (from $GOPATH)
  00:18:59 make.1 |     /var/app/staging/src/github.com/aws/aws-sdk-go/service/kinesis
  00:18:59 make.1 | agent-info.go:6:2: cannot find package "github.com/dockarray1/agent/pkg/merostypes" in any of:


Please help me out.
Thanks

Volker Dobler

unread,
Mar 22, 2018, 3:09:39 AM3/22/18
to golang-nuts
s/Sirupsen/sirupsen/g
See the project Readme on github.

V.
Reply all
Reply to author
Forward
0 new messages