make-software / casper-dao-middleware

A mono-repository that consists of two apps. Handler is used to listen to event from the network, process them and store them in DB and API for exposing stored data.
Apache License 2.0
3 stars 1 forks source link

make setup fails on Gitpod/Ubuntu #9

Closed mrkara closed 2 years ago

mrkara commented 2 years ago

Description

The make setup command fails with an error on Gitpod (Ubuntu 20.04.5 LTS):

$ make setup
make[1]: Entering directory '/workspace/casper-dao-middleware'
go mod vendor
go: downloading github.com/caarlos0/env/v6 v6.10.1
go: downloading go.uber.org/zap v1.23.0
go: downloading github.com/jmoiron/sqlx v1.3.5
go: downloading github.com/Masterminds/squirrel v1.5.3
go: downloading github.com/go-sql-driver/mysql v1.6.0
go: downloading golang.org/x/crypto v0.1.0
go: downloading github.com/go-ozzo/ozzo-validation v3.6.0+incompatible
go: downloading github.com/joho/godotenv v1.4.0
go: downloading github.com/swaggo/swag v1.8.7
go: downloading github.com/stretchr/testify v1.8.1
go: downloading github.com/go-chi/chi/v5 v5.0.7
go: downloading github.com/lann/builder v0.0.0-20180802200727-47ae307949d0
go: downloading github.com/casper-ecosystem/casper-golang-sdk v0.0.0-20220131100450-718690b51142
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/go-chi/cors v1.2.1
go: downloading github.com/swaggo/http-swagger v1.3.3
go: downloading go.uber.org/dig v1.15.0
go: downloading github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/swaggo/files v0.0.0-20220610200504-28940afbdbfe
go: downloading github.com/robpike/filter v0.0.0-20150108201509-2984852a2183
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading golang.org/x/tools v0.1.12
go: downloading github.com/KyleBanks/depth v1.2.1
go: downloading github.com/go-openapi/jsonreference v0.20.0
go: downloading github.com/go-openapi/spec v0.20.6
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/go-openapi/swag v0.19.15
go: downloading github.com/mailru/easyjson v0.7.6
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading golang.org/x/sys v0.1.0
go: downloading github.com/josharian/intern v1.0.0
go: downloading golang.org/x/net v0.1.0
casper-dao-middleware/internal/crdao/dao_event_parser tested by
        casper-dao-middleware/internal/crdao/dao_event_parser.test imports
        casper-dao-middleware/internal/crdao//dao_event_parser/events: malformed import path "casper-dao-middleware/internal/crdao//dao_event_parser/events": double slash
make[1]: *** [Makefile:2: install-deps] Error 1
make[1]: Leaving directory '/workspace/casper-dao-middleware'
make: *** [Makefile:5: setup] Error 2

Steps to Reproduce

ZhmakAS commented 2 years ago

@mrkara Fixed make setup here https://github.com/make-software/casper-dao-middleware/commit/e5e2706007992595797a3bd22b40e68ca8985f4e