Created
June 16, 2018 11:15
-
-
Save dlsniper/31ab7142f30e080dd9dd5daa0b05d2c8 to your computer and use it in GitHub Desktop.
Buffalo 0.12 error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
florin@Monzi10 [02:11:01 PM] [~/go/src/github.com/dlsniper] | |
-> % buffalo new buffy | |
--> /home/florin/go/src/github.com/dlsniper/buffy/.buffalo.dev.yml | |
--> /home/florin/go/src/github.com/dlsniper/buffy/assets/images/logo.svg | |
--> /home/florin/go/src/github.com/dlsniper/buffy/.babelrc | |
--> /home/florin/go/src/github.com/dlsniper/buffy/package.json | |
--> /home/florin/go/src/github.com/dlsniper/buffy/public/assets/.keep | |
--> /home/florin/go/src/github.com/dlsniper/buffy/webpack.config.js | |
--> /home/florin/go/src/github.com/dlsniper/buffy/assets/css/application.scss | |
--> /home/florin/go/src/github.com/dlsniper/buffy/assets/images/favicon.ico | |
--> /home/florin/go/src/github.com/dlsniper/buffy/assets/js/application.js | |
--> yarn install --no-progress --save | |
yarn install v1.5.1 | |
info No lockfile found. | |
[1/4] Resolving packages... | |
warning webpack-cli > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info. | |
warning webpack-cli > webpack-addons > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info. | |
warning webpack-cli > jscodeshift > [email protected]: ๐ Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! | |
warning webpack-cli > webpack-addons > jscodeshift > [email protected]: ๐ Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! | |
[2/4] Fetching packages... | |
info [email protected]: The platform "linux" is incompatible with this module. | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[3/4] Linking dependencies... | |
warning " > [email protected]" has unmet peer dependency "popper.js@^1.14.3". | |
[4/4] Building fresh packages... | |
success Saved lockfile. | |
Done in 53.04s. | |
--> /home/florin/go/src/github.com/dlsniper/buffy/models/models.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/models/models_test.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/grifts/db.go | |
--> go get github.com/gobuffalo/pop/... | |
--> database.yml | |
--> goimports -w buffy/grifts/db.go buffy/models/models.go buffy/models/models_test.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/Dockerfile | |
--> /home/florin/go/src/github.com/dlsniper/buffy/.dockerignore | |
--> /home/florin/go/src/github.com/dlsniper/buffy/actions/actions_test.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/actions/app.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/.env | |
--> /home/florin/go/src/github.com/dlsniper/buffy/grifts/init.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/templates/index.html | |
--> /home/florin/go/src/github.com/dlsniper/buffy/actions/render.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/inflections.json | |
--> /home/florin/go/src/github.com/dlsniper/buffy/locales/all.en-us.yaml | |
--> /home/florin/go/src/github.com/dlsniper/buffy/public/robots.txt | |
--> /home/florin/go/src/github.com/dlsniper/buffy/templates/_flash.html | |
--> /home/florin/go/src/github.com/dlsniper/buffy/templates/application.html | |
--> /home/florin/go/src/github.com/dlsniper/buffy/README.md | |
--> /home/florin/go/src/github.com/dlsniper/buffy/actions/home.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/actions/home_test.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/fixtures/sample.toml | |
--> /home/florin/go/src/github.com/dlsniper/buffy/main.go | |
--> /home/florin/go/src/github.com/dlsniper/buffy/.codeclimate.yml | |
--> go get -t ./... | |
# github.com/dlsniper/buffy/actions | |
actions/app.go:51:38: cannot use models.DB (type *"github.com/gobuffalo/pop".Connection) as type *"github.com/gobuffalo/buffalo/vendor/github.com/gobuffalo/pop".Connection in argument to middleware.PopTransaction | |
actions/app.go:72:36: cannot use "github.com/gobuffalo/packr".NewBox("../locales") (type "github.com/gobuffalo/packr".Box) as type "github.com/gobuffalo/buffalo/vendor/github.com/gobuffalo/packr".Box in argument to i18n.New | |
actions/app.go:85:37: cannot use "github.com/unrolled/secure".Options literal (type "github.com/unrolled/secure".Options) as type "github.com/gobuffalo/buffalo/vendor/github.com/unrolled/secure".Options in argument to ssl.ForceSSL | |
actions/render.go:16:19: cannot use "github.com/gobuffalo/packr".NewBox("../templates") (type "github.com/gobuffalo/packr".Box) as type "github.com/gobuffalo/buffalo/vendor/github.com/gobuffalo/packr".Box in field value | |
actions/render.go:17:16: cannot use assetsBox (type "github.com/gobuffalo/packr".Box) as type "github.com/gobuffalo/buffalo/vendor/github.com/gobuffalo/packr".Box in field value | |
Usage: | |
buffalo new [name] [flags] | |
Flags: | |
--api skip all front-end code and configure for an API server | |
--bootstrap int specify version for Bootstrap [3, 4] (default 4) | |
--ci-provider string specify the type of ci file you would like buffalo to generate [none, travis, gitlab-ci] (default "none") | |
--db-type string specify the type of database you want to use [postgres, mysql, cockroach] (default "postgres") | |
--docker string specify the type of Docker file to generate [none, multi, standard] (default "multi") | |
-f, --force delete and remake if the app already exists | |
-h, --help help for new | |
--skip-pop skips adding pop/soda to your app | |
--skip-webpack skips adding Webpack to your app | |
--skip-yarn use npm instead of yarn for frontend dependencies management | |
--vcs string specify the Version control system you would like to use [none, git, bzr] (default "git") | |
-v, --verbose verbosely print out the go get commands | |
--with-dep adds github.com/golang/dep to your app | |
ERRO[0100] Error: exit status 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment