gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.07k stars 573 forks source link

build (`buffalo build`) failing #1323

Closed g33klord closed 5 years ago

g33klord commented 5 years ago

Steps to Reproduce the Problem

$ buffalo build

Expected Behavior

I wan a successful build with a message something like :

You application was successfully built at /Users/g33klord/go/src/play_service/bin/play_service

Actual Behavior

g33klord@g33klordlord-MacBook-Pro:~/go/src/play_service$ buffalo build
buffalo_build_main.go:12:3: cannot find package "github.com/gobuffalo/buffalo/runtime" in any of:
    /Users/g33klord/go/src/play_service/vendor/github.com/gobuffalo/buffalo/runtime (vendor tree)
    /usr/local/Cellar/go/1.11/libexec/src/github.com/gobuffalo/buffalo/runtime (from $GOROOT)
    /Users/g33klord/go/src/github.com/gobuffalo/buffalo/runtime (from $GOPATH)
INFO[0000] ~~~ BUILD CANCELLED ~~~
Usage:
  buffalo build [flags]

Aliases:
  build, b, bill

Flags:
  -c, --compress                   compress static files in the binary (default true)
  -d, --debug                      print debugging information
      --environment string         set the environment for the binary (default "development")
  -e, --extract-assets             extract the assets and put them in a distinct archive
  -h, --help                       help for build
      --ldflags string             set any ldflags to be passed to the go build
  -o, --output string              set the name of the binary (default "bin/play_service")
  -k, --skip-assets                skip running webpack and building assets
      --skip-template-validation   skip validating plush templates
  -s, --static                     build a static binary using  --ldflags '-linkmode external -extldflags "-static"'
  -t, --tags string                compile with specific build tags

ERRO[0000] Error: exit status 1

Info

``` g33klord@g33klord-MacBook-Pro:~/go/src/play_service$ buffalo info ### Buffalo Version v0.12.6 ### App Information Pwd=/Users/g33klord/go/src/play_service Root=/Users/g33klord/go/src/play_service GoPath=/Users/g33klord/go Name=play_service Bin=bin/play_service PackagePkg=play_service ActionsPkg=play_service/actions ModelsPkg=play_service/models GriftsPkg=play_service/grifts VCS=git WithPop=true WithSQLite=false WithDep=true WithWebpack=false WithYarn=false WithDocker=true WithGrifts=true ### Go Version go version go1.11 darwin/amd64 ### Go Env GOARCH="amd64" GOBIN="" GOCACHE="/Users/g33klord/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/g33klord/go" GOPROXY="" GORACE="" GOROOT="/usr/local/Cellar/go/1.11/libexec" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.11/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mb/c0gm7kl14r1dkzsn994lhdlh0000gn/T/go-build415372070=/tmp/go-build -gno-record-gcc-switches -fno-common" ### Node Version v10.10.0 ### NPM Version 6.4.1 ### Yarn Version Yarn Not Found ### PostgreSQL Version PostgreSQL Not Found ### MySQL Version MySQL Not Found ### SQLite Version 3.19.3 2017-06-27 16:48:08 2b0954060fe10d6de6d479287dd88890f1bef6cc1beca11bc6cdb79f72e2377b ### Dep Version dep: version : v0.5.0 build date : 2018-07-26 git hash : 224a564 go version : go1.10.3 go compiler : gc platform : darwin/amd64 features : ImportDuringSolve=false ### Dep Status PROJECT CONSTRAINT VERSION REVISION LATEST PKGS USED cloud.google.com/go v0.26.0 v0.26.0 64a2037 v0.26.0 12 dmitri.shuralyov.com/text/kebabcase branch master branch master 40e40b4 40e40b4 1 firebase.google.com/go v3.3.0 v3.3.0 64bf7fb v3.3.0 7 github.com/BurntSushi/toml v0.3.0 v0.3.0 b26d9c3 v0.3.0 1 github.com/ajg/form v1.5 v1.5 cc29540 v1.5 1 github.com/boombuler/barcode v1.0.0 v1.0.0 3cfea5a v1.0.0 3 github.com/cockroachdb/cockroach-go branch master branch master 59c0560 59c0560 1 github.com/davecgh/go-spew v1.1.0 v1.1.0 346938d v1.1.0 1 github.com/dgrijalva/jwt-go v3.2.0 v3.2.0 06ea103 v3.2.0 1 github.com/dustin/go-humanize branch master branch master 02af396 9f541cc 1 github.com/fatih/color v1.7.0 v1.7.0 5b77d2a v1.7.0 1 github.com/fatih/structs v1.0 v1.0 a720dfa v1.0 1 github.com/fsnotify/fsnotify v1.4.7 v1.4.7 c282820 v1.4.7 1 github.com/go-mail/mail 2.2.0 2.2.0 63235f2 2.2.0 1 github.com/go-sql-driver/mysql v1.4.0 v1.4.0 d523deb v1.4.0 1 github.com/gobuffalo/buffalo ^0.12.3 v0.12.3 2561960 v0.12.6 8 github.com/gobuffalo/envy ^1.6.3 v1.6.3 2d0f467 v1.6.4 1 github.com/gobuffalo/fizz v1.0.1 v1.0.1 25461ee v1.0.1 2 github.com/gobuffalo/makr v1.1.0 v1.1.0 2f752af v1.1.0 1 github.com/gobuffalo/packr v1.11.1 v1.11.1 bd47f28 v1.11.1 1 github.com/gobuffalo/plush v3.7.7 v3.7.7 2ec029f v3.7.7 5 github.com/gobuffalo/pop ^4.5.12 v4.5.12 66130db v4.7.3 6 github.com/gobuffalo/suite ^2.1.2 v2.1.2 e731d05 v2.1.6 2 github.com/gobuffalo/tags v2.0.6 v2.0.6 1b65be1 v2.0.6 3 github.com/gobuffalo/uuid v2.0.0 v2.0.0 3a9fb6c v2.0.0 1 github.com/gobuffalo/validate v2.0.0 v2.0.0 42d8db6 v2.0.0 2 github.com/gobuffalo/x branch master branch master 11ca13c b9bd647 2 github.com/golang/protobuf v1.2.0 v1.2.0 aa810b6 v1.2.0 9 github.com/googleapis/gax-go v2.0.0 v2.0.0 317e000 v2.0.0 1 github.com/gorilla/context v1.1.1 v1.1.1 08b5f42 v1.1.1 1 github.com/gorilla/mux v1.6.2 v1.6.2 e3702be v1.6.2 1 github.com/gorilla/securecookie v1.1.1 v1.1.1 e59506c v1.1.1 1 github.com/gorilla/sessions v1.1.1 v1.1.1 03b6f63 v1.1.1 1 github.com/jmoiron/sqlx branch master branch master 0dae4fe 0dae4fe 2 github.com/joho/godotenv v1.2.0 v1.2.0 a79fa1e v1.2.0 1 github.com/lib/pq branch master branch master 90697d6 4ded0e9 2 github.com/markbates/going v1.0.0 v1.0.0 0576708 v1.0.0 3 github.com/markbates/grift ^1.0.0 v1.0.0 76f9361 v1.0.3 1 github.com/markbates/hmax v1.0.0 v1.0.0 800e180 v1.0.0 1 github.com/markbates/inflect v1.0.0 v1.0.0 dd7de90 v1.0.0 1 github.com/markbates/refresh v1.4.0 v1.4.0 fab0ab1 v1.4.0 2 github.com/markbates/sigtx v1.0.0 v1.0.0 daa2e5f v1.0.0 1 github.com/markbates/willie v1.0.0 v1.0.0 6793494 v1.0.0 1 github.com/mattn/go-colorable v0.0.9 v0.0.9 167de6b v0.0.9 1 github.com/mattn/go-isatty v0.0.3 v0.0.3 0360b2a v0.0.3 1 github.com/mattn/go-sqlite3 v1.9.0 v1.9.0 25ecb14 v1.9.0 1 github.com/microcosm-cc/bluemonday branch master branch master f0761eb 82c7118 1 github.com/mitchellh/go-homedir branch master branch master 3864e76 ae18d6b 1 github.com/monoculum/formam v3.0 v3.0 99ca9dc v3.0 1 github.com/pkg/errors v0.8.0 v0.8.0 645ef00 v0.8.0 1 github.com/pmezard/go-difflib v1.0.0 v1.0.0 792786c v1.0.0 1 github.com/pquerna/otp v1.0.0 v1.0.0 b7b8925 v1.0.0 3 github.com/rs/cors ^1.4.0 v1.4.0 ca016a0 v1.5.0 1 github.com/russross/blackfriday branch master branch master 11635eb 05f3235 1 github.com/serenize/snaker branch master branch master a683aaf a683aaf 1 github.com/sergi/go-diff v1.0.0 v1.0.0 1744e29 v1.0.0 1 github.com/shurcooL/github_flavored_markdown branch master branch master 8913699 e51ad0a 1 github.com/shurcooL/go branch master branch master 9e1955d 9e1955d 4 github.com/shurcooL/go-goon branch master branch master 37c2f52 37c2f52 1 github.com/shurcooL/graphql branch master branch master 62c9ce0 e4a3a37 1 github.com/shurcooL/highlight_diff branch master branch master 09bb405 09bb405 1 github.com/shurcooL/highlight_go branch master branch master 78fb10f 78fb10f 1 github.com/shurcooL/octicon branch master branch master c42b0e3 c42b0e3 1 github.com/shurcooL/sanitized_anchor_name branch master branch master 86672fc 86672fc 1 github.com/sirupsen/logrus v1.0.5 v1.0.5 c155da1 v1.0.5 1 github.com/sourcegraph/annotate branch master branch master f4cad6c f4cad6c 1 github.com/sourcegraph/syntaxhighlight branch master branch master bd320f5 bd320f5 1 github.com/stretchr/testify v1.2.2 v1.2.2 f35b8ab v1.2.2 3 github.com/unrolled/secure branch master branch master 8287f38 f340ee8 1 go.opencensus.io v0.15.0 v0.15.0 7b55805 v0.15.0 14 golang.org/x/crypto branch master branch master a49355c 0e37d00 3 golang.org/x/net branch master branch master 4cb1c02 f04abc6 10 golang.org/x/oauth2 branch master branch master d2e6202 d2e6202 5 golang.org/x/sync branch master branch master 1d60e46 1d60e46 1 golang.org/x/sys branch master branch master 7138fd3 b09afc3 2 golang.org/x/text v0.3.0 v0.3.0 f21a4df v0.3.0 14 google.golang.org/api branch master branch master e0f3bfa e5ba110 13 google.golang.org/appengine v1.1.0 v1.1.0 b1f2635 v1.1.0 13 google.golang.org/genproto branch master branch master c66870c 221a8d4 6 google.golang.org/grpc v1.14.0 v1.14.0 32fb0ac v1.14.0 27 gopkg.in/alexcesaro/quotedprintable.v3 branch v3 branch v3 2caba25 2caba25 1 gopkg.in/yaml.v2 v2.2.1 v2.2.1 5420a8b v2.2.1 1 ```
g33klord commented 5 years ago

this is fixed by running the following commands:

$ dep ensure --update $ buffalo update $ go get http://github.com/gobuffalo/buffalo/