Closed paganotoni closed 6 years ago
When running grift with a modules app outside the GOPATH it fails saying:
build github.com/paganotoni/myapp/.grifter: cannot find module for path myapp/grifts
Result of buffalo info:
buffalo info ### Buffalo Version v0.13.2 ### App Information Pwd=/Users/paganotoni/code/myapp Root=/Users/paganotoni/code/myapp GoPath=/Users/paganotoni/go Name=myapp Bin=bin/myapp PackagePkg=../../code/myapp ActionsPkg=../../code/myapp/actions ModelsPkg=../../code/myapp/models GriftsPkg=../../code/myapp/grifts VCS=git WithPop=true WithSQLite=false WithDep=false WithWebpack=true WithYarn=false WithDocker=true WithGrifts=true WithModules=false ### Go Version go version go1.11.1 darwin/amd64 ### Go Env GOARCH="amd64" GOBIN="" GOCACHE="/Users/paganotoni/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/paganotoni/go" GOPROXY="" GORACE="" GOROOT="/usr/local/Cellar/go/1.11.1/libexec" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.11.1/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/paganotoni/code/myapp/go.mod" 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/zx/9gj414m52nj3l_zrlr6903sm0000gn/T/go-build325846444=/tmp/go-build -gno-record-gcc-switches -fno-common" ### Node Version v11.0.0 ### NPM Version 6.4.1 ### Yarn Version 1.12.1 ### PostgreSQL Version pg_ctl (PostgreSQL) 9.6.10 ### MySQL Version MySQL Not Found ### SQLite Version 3.24.0 2018-06-04 14:10:15 95fbac39baaab1c3a84fdfc82ccb7f42398b2e92f18a2a57bce1d4a713cbaapl ### Dep Version could not find a Gopkg.toml file ### Dep Status could not find a Gopkg.toml file ### go.mod module github.com/paganotoni/myapp require ( github.com/Masterminds/sprig v2.16.0+incompatible // indirect github.com/aokoli/goutils v1.0.1 // indirect github.com/badoux/checkmail v0.0.0-20180430153108-0755fe2dc241 github.com/bsphere/le_go v0.0.0-20170215134836-7a984a84b549 github.com/corpix/uarand v0.0.0-20170903190822-2b8494104d86 // indirect github.com/dustin/go-humanize v1.0.0 github.com/fatih/structs v1.1.0 github.com/go-playground/form v3.1.3+incompatible github.com/gobuffalo/buffalo v0.13.2 github.com/gobuffalo/buffalo-pop v1.1.8 github.com/gobuffalo/envy v1.6.7 github.com/gobuffalo/mw-csrf v0.0.0-20180802151833-446ff26e108b github.com/gobuffalo/mw-i18n v0.0.0-20181027200759-09e0c99be4d3 github.com/gobuffalo/mw-paramlogger v0.0.0-20181005191442-d6ee392ec72e github.com/gobuffalo/packr v1.16.0 github.com/gobuffalo/plush v3.7.21+incompatible github.com/gobuffalo/pop v4.8.7+incompatible github.com/gobuffalo/suite v2.2.0+incompatible github.com/gobuffalo/tags v2.0.11+incompatible github.com/gobuffalo/uuid v2.0.5+incompatible github.com/gobuffalo/validate v2.0.3+incompatible github.com/google/uuid v1.0.0 // indirect github.com/huandu/xstrings v1.2.0 // indirect github.com/icrowley/fake v0.0.0-20180203215853-4178557ae428 github.com/imdario/mergo v0.3.6 // indirect github.com/jaytaylor/html2text v0.0.0-20180606194806-57d518f124b0 // indirect github.com/leekchan/accounting v0.0.0-20180703100437-18a1925d6514 github.com/markbates/going v1.0.2 github.com/markbates/grift v1.0.5 github.com/markbates/inflect v1.0.4 github.com/matcornic/hermes v1.2.0 github.com/mattn/go-runewidth v0.0.3 // indirect github.com/monoculum/formam v0.0.0-20180901015400-4e68be1d79ba github.com/newrelic/go-agent v2.1.0+incompatible github.com/olekukonko/tablewriter v0.0.1 // indirect github.com/pkg/errors v0.8.0 github.com/sendgrid/rest v2.4.1+incompatible // indirect github.com/sendgrid/sendgrid-go v3.4.1+incompatible github.com/sirupsen/logrus v1.1.1 github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect github.com/stanislas-m/mocksmtp v1.0.0 github.com/stretchr/testify v1.2.2 golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16 gopkg.in/go-playground/assert.v1 v1.2.1 // indirect )
seeing this as well. As of which version should this work?
When running grift with a modules app outside the GOPATH it fails saying:
Result of buffalo info: