gobuffalo / pop

A Tasty Treat For All Your Database Needs
MIT License
1.44k stars 243 forks source link

Error: unable to find database.yml template for dialect postgres #529

Closed Pulgafree closed 4 years ago

Pulgafree commented 4 years ago

Description

Can't create new project using Windows 10 2004.

Steps to Reproduce the Problem

  1. Install using "choco install buffalo"
  2. In a folder inside GOPATH run "buffalo new server -v"
  3. Get error message

Expected Behavior

Create a project folder. I only can create a project using the --api flag.

Actual Behavior

Get an error with no project folder creation.

Info

PS C:\Users\Isacar\go\src> buffalo new server --api -v ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#New ←[37mname←[0m="buffalo:genny:newapp:core" ←[37mpath←[0m=../core/templates ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m="buffalo:genny:newapp:core" ←[37mname←[0m="buffalo:genny:newapp:core" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"../core/templates","name":"buffalo:genny:newapp:core","resolution_dir":"../core/templates","default_resolver":null}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=c1fa422d982005db851518cb8f9b9ac0 ←[37mpath←[0m=actions/render.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=c1fa422d982005db851518cb8f9b9ac0 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=c1fa422d982005db851518cb8f9b9ac0 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=c1fa422d982005db851518cb8f9b9ac0 ←[37mkey←[0m=c1fa422d982005db851518cb8f9b9ac0 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package actions\n\nimport (\n\t"github.com/gobuffalo/buffalo/render"\n)\n\nvar r render.Engine\n\nfunc init() {\n\tr = render.New(render.Options{})\n}\n" ←[37mpath←[0m=actions/render.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=d5f7600d983b940c76987f1058698cbb ←[37mpath←[0m=-dot-codeclimate.yml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=d5f7600d983b940c76987f1058698cbb ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=d5f7600d983b940c76987f1058698cbb ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=d5f7600d983b940c76987f1058698cbb ←[37mkey←[0m=d5f7600d983b940c76987f1058698cbb ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="engines:\n fixme:\n enabled: true\n gofmt:\n enabled: true\n golint:\n enabled: true\n govet:\n enabled: true\nexclude_paths:\n - grifts//\n - "/_test.go"\n - "_test.go"\n - "_test.go"\n - logs/\n - public/\n - templates/\nratings:\n paths:\n - ".go"\n" ←[37mpath←[0m=-dot-codeclimate.yml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=7cf0849253a803643e6cc89ed457b809 ←[37mpath←[0m=README.md.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=7cf0849253a803643e6cc89ed457b809 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=7cf0849253a803643e6cc89ed457b809 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=7cf0849253a803643e6cc89ed457b809 ←[37mkey←[0m=7cf0849253a803643e6cc89ed457b809 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="# Welcome to Buffalo!\n\nThank you for choosing Buffalo for your web development needs.\n\n{{ if .opts.App.WithPop -}}\n## Database Setup\n\nIt looks like you chose to set up your application using a database! Fantastic!\n\nThe first thing you need to do is open up the "database.yml" file and edit it to use the correct usernames, passwords, hosts, etc... that are appropriate for your environment.\n\nYou will also need to make sure that you start/install the database of your choice. Buffalo won't install and start it for you.\n\n### Create Your Databases\n\nOk, so you've edited the "database.yml" file and started your database, now Buffalo can create the databases in that file for you:\n\n\t$ buffalo pop create -a\n\n{{end -}}\n\n## Starting the Application\n\nBuffalo ships with a command that will watch your application and automatically rebuild the Go binary and any assets for you. To do that run the "buffalo dev" command:\n\n\t$ buffalo dev\n\nIf you point your browser to http://127.0.0.1:3000 you should see a "Welcome to Buffalo!" page.\n\nCongratulations! You now have your Buffalo application up and running.\n\n## What Next?\n\nWe recommend you heading over to http://gobuffalo.io and reviewing all of the great documentation there.\n\nGood luck!\n\nPowered by Buffalo\n" ←[37mpath←[0m=README.md.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=99fa3606d3c8f6d1499918a17b0cfed5 ←[37mpath←[0m=actions/actions_test.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=99fa3606d3c8f6d1499918a17b0cfed5 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=99fa3606d3c8f6d1499918a17b0cfed5 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=99fa3606d3c8f6d1499918a17b0cfed5 ←[37mkey←[0m=99fa3606d3c8f6d1499918a17b0cfed5 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package actions\n\nimport (\n\t"testing"\n\n\t"github.com/gobuffalo/packr/v2"\n\t"github.com/gobuffalo/suite"\n)\n\ntype ActionSuite struct {\n\tsuite.Action\n}\n\nfunc Test_ActionSuite(t testing.T) {\n\taction, err := suite.NewActionWithFixtures(App(), packr.New("Test_ActionSuite", "../fixtures"))\n\tif err != nil {\n\t\tt.Fatal(err)\n\t}\n\n\tas := &ActionSuite{\n\t\tAction: action,\n\t}\n\tsuite.Run(t, as)\n}\n" ←[37mpath←[0m=actions/actions_test.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=742fc36c16040fea34930715c1a0c752 ←[37mpath←[0m=actions/home.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=742fc36c16040fea34930715c1a0c752 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=742fc36c16040fea34930715c1a0c752 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=742fc36c16040fea34930715c1a0c752 ←[37mkey←[0m=742fc36c16040fea34930715c1a0c752 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package actions\n\nimport (\n "net/http"\n\n "github.com/gobuffalo/buffalo"\n)\n\n// HomeHandler is a default handler to serve up\n// a home page.\nfunc HomeHandler(c buffalo.Context) error {\n\treturn c.Render(http.StatusOK, r.String("Hello from Buffalo"))\n}\n" ←[37mpath←[0m=actions/home.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=20797e5d9a818fc978cd1217a1f86cfa ←[37mpath←[0m=grifts/init.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=20797e5d9a818fc978cd1217a1f86cfa ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=20797e5d9a818fc978cd1217a1f86cfa ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=20797e5d9a818fc978cd1217a1f86cfa ←[37mkey←[0m=20797e5d9a818fc978cd1217a1f86cfa ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package grifts\n\nimport (\n "github.com/gobuffalo/buffalo"\n\t"{{ .opts.App.ActionsPkg }}"\n)\n\nfunc init() {\n buffalo.Grifts(actions.App())\n}\n" ←[37mpath←[0m=grifts/init.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=dd3f9d83d17263e5f48ad908d706c9ba ←[37mpath←[0m=inflections.json.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=dd3f9d83d17263e5f48ad908d706c9ba ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=dd3f9d83d17263e5f48ad908d706c9ba ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=dd3f9d83d17263e5f48ad908d706c9ba ←[37mkey←[0m=dd3f9d83d17263e5f48ad908d706c9ba ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="{\n "singular": "plural"\n}\n" ←[37mpath←[0m=inflections.json.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=9317364ddd6b63e219810d950378e968 ←[37mpath←[0m=main.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=9317364ddd6b63e219810d950378e968 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=9317364ddd6b63e219810d950378e968 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=9317364ddd6b63e219810d950378e968 ←[37mkey←[0m=9317364ddd6b63e219810d950378e968 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package main\n\nimport (\n "log"\n\n "{{ .opts.App.ActionsPkg }}"\n)\n\n// main is the starting point for your Buffalo application.\n// You can feel free and add to this main method, change\n// what it does, etc...\n// All we ask is that, at some point, you make sure to\n// call app.Serve(), unless you don't want to start your\n// application that is. :)\nfunc main() {\n app := actions.App()\n if err := app.Serve(); err != nil {\n log.Fatal(err)\n }\n}\n\n/\n# Notes about main.go\n\n## SSL Support\n\nWe recommend placing your application behind a proxy, such as\nApache or Nginx and letting them do the SSL heavy lifting\nfor you. https://gobuffalo.io/en/docs/proxy\n\n## Buffalo Build\n\nWhen buffalo build is run to compile your binary, this main\nfunction will be at the heart of that binary. It is expected\nthat your main function will start your application using\nthe app.Serve() method.\n\n/\n" ←[37mpath←[0m=main.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=53f363d0ad4430f2bdb63b98a25063d9 ←[37mpath←[0m=-dot-env.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=53f363d0ad4430f2bdb63b98a25063d9 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=53f363d0ad4430f2bdb63b98a25063d9 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=53f363d0ad4430f2bdb63b98a25063d9 ←[37mkey←[0m=53f363d0ad4430f2bdb63b98a25063d9 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="# This .env file was generated by buffalo, add here the env variables you need \n# buffalo to load into the ENV on application startup so your application works correctly.\n# To add variables use KEY=VALUE format, you can later retrieve this in your application\n# by using os.Getenv("KEY").\n#\n# Example:\n# DATABASE_PASSWORD=XXXXXXXXX\n# SESSION_SECRET=XXXXXXXXX\n# SMTP_SERVER=XXXXXXXXX\n" ←[37mpath←[0m=-dot-env.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=ee7b265b1ee9da4ed3d193060e745bde ←[37mpath←[0m=actions/app.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=ee7b265b1ee9da4ed3d193060e745bde ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=ee7b265b1ee9da4ed3d193060e745bde ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=ee7b265b1ee9da4ed3d193060e745bde ←[37mkey←[0m=ee7b265b1ee9da4ed3d193060e745bde ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package actions\n\nimport (\n\t"github.com/gobuffalo/buffalo"\n\t"github.com/gobuffalo/envy"\n\tforcessl "github.com/gobuffalo/mw-forcessl"\n\tparamlogger "github.com/gobuffalo/mw-paramlogger"\n\t"github.com/unrolled/secure"\n)\n\n// ENV is used to help switch settings based on where the\n// application is being run. Default is "development".\nvar ENV = envy.Get("GOENV", "development")\nvar app buffalo.App\n\n// App is where all routes and middleware for buffalo\n// should be defined. This is the nerve center of your\n// application.\n//\n// Routing, middleware, groups, etc... are declared TOP -> DOWN.\n// This means if you add a middleware to app after declaring a\n// group, that group will NOT have that new middleware. The same\n// is true of resource declarations as well.\n//\n// It also means that routes are checked in the order they are declared.\n// ServeFiles is a CATCH-ALL route, so it should always be\n// placed last in the route declarations, as it will ensure routes\n// declared after it will never be called.\nfunc App() buffalo.App {\n\tif app == nil {\n\t\tapp = buffalo.New(buffalo.Options{\n\t\t\tEnv: ENV,\n SessionName: "{{.opts.App.Name.File}}_session",\n\t\t})\n\n\t\t// Automatically redirect to SSL\n\t\tapp.Use(forceSSL())\n\n\t\t// Log request parameters (filters apply).\n\t\tapp.Use(paramlogger.ParameterLogger)\n\n\t\tapp.GET("/", HomeHandler)\n\t}\n\n\treturn app\n}\n\n// forceSSL will return a middleware that will redirect an incoming request\n// if it is not HTTPS. "http://example.com" => "https://example.com".\n// This middleware does not enable SSL. for your application. To do that\n// we recommend using a proxy: https://gobuffalo.io/en/docs/proxy\n// for more information: https://github.com/unrolled/secure/\nfunc forceSSL() buffalo.MiddlewareFunc {\n\treturn forcessl.Middleware(secure.Options{\n\t\tSSLRedirect: ENV == "production",\n\t\tSSLProxyHeaders: map[string]string{"X-Forwarded-Proto": "https"},\n\t})\n}\n" ←[37mpath←[0m=actions/app.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=67f1ec2b23f6fdcc8414d2b78ec8789d ←[37mpath←[0m=actions/home_test.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=67f1ec2b23f6fdcc8414d2b78ec8789d ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=67f1ec2b23f6fdcc8414d2b78ec8789d ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=67f1ec2b23f6fdcc8414d2b78ec8789d ←[37mkey←[0m=67f1ec2b23f6fdcc8414d2b78ec8789d ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package actions\n\nimport "net/http"\n\nfunc (as ActionSuite) Test_HomeHandler() {\n\tres := as.HTML("/").Get()\n\n\tas.Equal(http.StatusOK, res.Code)\n\tas.Contains(res.Body.String(), "Welcome to Buffalo")\n}\n" ←[37mpath←[0m=actions/home_test.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=697d0d4731d42b9a80c0965bc8e51b59 ←[37mpath←[0m=fixtures/sample.toml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=697d0d4731d42b9a80c0965bc8e51b59 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=697d0d4731d42b9a80c0965bc8e51b59 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=697d0d4731d42b9a80c0965bc8e51b59 ←[37mkey←[0m=697d0d4731d42b9a80c0965bc8e51b59 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="[[scenario]]\nname = "lots of widgets"\n\n [[scenario.table]]\n name = "widgets"\n\n [[scenario.table.row]]\n id = "<%= uuidNamed("widget") %>"\n name = "This is widget #1"\n body = "some widget body"\n created_at = "<%= now() %>"\n updated_at = "<%= now() %>"\n\n [[scenario.table.row]]\n id = "<%= uuid() %>"\n name = "This is widget #2"\n body = "some widget body"\n created_at = "<%= now() %>"\n updated_at = "<%= now() %>"\n\n [[scenario.table]]\n name = "users"\n\n [[scenario.table.row]]\n id = "<%= uuid() %>"\n name = "Mark Bates"\n admin = true\n age = 41\n widget_id = "<%= uuidNamed("widget") %>"\n created_at = "<%= now() %>"\n updated_at = "<%= now() %>"\n\n" ←[37mpath←[0m=fixtures/sample.toml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m=-dot-codeclimate.yml.tmpl ←[37mpath←[0m=-dot-codeclimate.yml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m=-dot-env.tmpl ←[37mpath←[0m=-dot-env.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m=README.md.tmpl ←[37mpath←[0m=README.md.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m="actions\actions_test.go.tmpl" ←[37mpath←[0m=actions/actions_test.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m="actions\app.go.tmpl" ←[37mpath←[0m=actions/app.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m="actions\home.go.tmpl" ←[37mpath←[0m=actions/home.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m="actions\home_test.go.tmpl" ←[37mpath←[0m=actions/home_test.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m="actions\render.go.tmpl" ←[37mpath←[0m=actions/render.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m="fixtures\sample.toml.tmpl" ←[37mpath←[0m=fixtures/sample.toml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m="grifts\init.go.tmpl" ←[37mpath←[0m=grifts/init.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m=inflections.json.tmpl ←[37mpath←[0m=inflections.json.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m=main.go.tmpl ←[37mpath←[0m=main.go.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#New ←[37mname←[0m=github.com/gobuffalo/buffalo/common ←[37mpath←[0m=../docker/templates/common ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=github.com/gobuffalo/buffalo/common ←[37mname←[0m=github.com/gobuffalo/buffalo/common ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"../docker/templates/common","name":"github.com/gobuffalo/buffalo/common","resolution_dir":"../docker/templates/common","default_resolver":null}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=1bb4e0e3ef51e05e3e1940c310fd532a ←[37mpath←[0m=-dot-dockerignore.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=1bb4e0e3ef51e05e3e1940c310fd532a ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=1bb4e0e3ef51e05e3e1940c310fd532a ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=1bb4e0e3ef51e05e3e1940c310fd532a ←[37mkey←[0m=1bb4e0e3ef51e05e3e1940c310fd532a ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="node_modules/\n.log\nbin/\n" ←[37mpath←[0m=-dot-dockerignore.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#Walk ←[37mosPath←[0m=-dot-dockerignore.tmpl ←[37mpath←[0m=-dot-dockerignore.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#New ←[37mname←[0m=github.com/gobuffalo/buffalo/multi ←[37mpath←[0m=../docker/templates/multi ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=github.com/gobuffalo/buffalo/multi ←[37mname←[0m=github.com/gobuffalo/buffalo/multi ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"../docker/templates/multi","name":"github.com/gobuffalo/buffalo/multi","resolution_dir":"../docker/templates/multi","default_resolver":null}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mforward-path←[0m=d44568df27e50e25168684661d0eb525 ←[37mpath←[0m=Dockerfile.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr#findBox ←[37mkey←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"8aec7cb696b20e86b238be5e6946ab48","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mkey←[0m=d44568df27e50e25168684661d0eb525 ←[37mDEBU←[0m[2020-04-03T17:04:55-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mname←[0m=d44568df27e50e25168684661d0eb525 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=8aec7cb696b20e86b238be5e6946ab48 ←[37mfile←[0m=d44568df27e50e25168684661d0eb525 ←[37mkey←[0m=d44568df27e50e25168684661d0eb525 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="# This is a multi-stage Dockerfile and requires >= Docker 17.05\n# https://docs.docker.com/engine/userguide/eng-image/multistage-build/\nFROM gobuffalo/buffalo:{{.opts.Version}} as builder\n\nENV GO111MODULE on\nENV GOPROXY http://proxy.golang.org\n\nRUN mkdir -p $GOPATH/src/{{.opts.App.PackagePkg}}\nWORKDIR $GOPATH/src/{{.opts.App.PackagePkg}}\n\n{{if .opts.App.WithWebpack -}}\n# this will cache the npm install step, unless package.json changes\nADD package.json .\n{{if .opts.App.WithYarn -}}\nADD yarn.lock .\nRUN yarn install --no-progress\n{{else -}}\nRUN npm install --no-progress\n{{end -}}\n{{end -}}\n\n# Copy the Go Modules manifests\nCOPY go.mod go.mod\nCOPY go.sum go.sum\n# cache deps before building and copying source so that we don't need to re-download as much\n# and so that source changes don't invalidate our downloaded layer\nRUN go mod download\n\nADD . .\nRUN buffalo build --static -o /bin/app\n\nFROM alpine\nRUN apk add --no-cache bash\nRUN apk add --no-cache ca-certificates\n\nWORKDIR /bin/\n\nCOPY --from=builder /bin/app .\n\n# Uncomment to run the binary in "production" mode:\n# ENV GO_ENV=production\n\n# Bind the app to 0.0.0.0 so it can be seen from outside the container\nENV ADDR=0.0.0.0\n\nEXPOSE 3000\n\n# Uncomment to run the migrations before running the binary:\n# CMD /bin/app migrate; /bin/app\nCMD exec /bin/app\n" ←[37mpath←[0m=Dockerfile.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#Walk ←[37mosPath←[0m=Dockerfile.tmpl ←[37mpath←[0m=Dockerfile.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr#New ←[37mname←[0m=github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates ←[37mpath←[0m=../newapp/templates ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr#findBox ←[37mkey←[0m=github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates ←[37mname←[0m=github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#found ←[37mbox←[0m="{"path":"../newapp/templates","name":"github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates","resolution_dir":"../newapp/templates","default_resolver":null}" ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mforward-path←[0m=09f7649792c6d7c3f1acd1d1ed704681 ←[37mpath←[0m=grifts/db.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr#findBox ←[37mkey←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mname←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"d4ae0dac9570539873063961f7dfc32e","resolution_dir":"C:\Users\Isacar\go\src","defaultresolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mkey←[0m=09f7649792c6d7c3f1acd1d1ed704681 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mname←[0m=09f7649792c6d7c3f1acd1d1ed704681 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] *resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mfile←[0m=09f7649792c6d7c3f1acd1d1ed704681 ←[37mkey←[0m=09f7649792c6d7c3f1acd1d1ed704681 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package grifts\n\nimport (\n\t"github.com/markbates/grift/grift"\n)\n\nvar = grift.Namespace("db", func() {\n\n\tgrift.Desc("seed", "Seeds a database")\n\tgrift.Add("seed", func(c grift.Context) error {\n\t\t// Add DB seeding stuff here\n\t\treturn nil\n\t})\n\n})\n" ←[37mpath←[0m=grifts/db.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mforward-path←[0m=1c373b3456cc152e9002987a9e51f758 ←[37mpath←[0m=models/models.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr#findBox ←[37mkey←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mname←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"d4ae0dac9570539873063961f7dfc32e","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mkey←[0m=1c373b3456cc152e9002987a9e51f758 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mname←[0m=1c373b3456cc152e9002987a9e51f758 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mfile←[0m=1c373b3456cc152e9002987a9e51f758 ←[37mkey←[0m=1c373b3456cc152e9002987a9e51f758 ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package models\n\nimport (\n\t"log"\n\n\t"github.com/gobuffalo/envy"\n\t"github.com/gobuffalo/pop/v5"\n)\n\n// DB is a connection to your database to be used\n// throughout your application.\nvar DB pop.Connection\n\nfunc init() {\n\tvar err error\n\tenv := envy.Get("GO_ENV", "development")\n\tDB, err = pop.Connect(env)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tpop.Debug = env == "development"\n}\n" ←[37mpath←[0m=models/models.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mforward-box←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mforward-path←[0m=968bda578de4b93b9c43d8bfddac6b3b ←[37mpath←[0m=models/models_test.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr#findBox ←[37mkey←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mname←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#found ←[37mbox←[0m="{"path":"","name":"d4ae0dac9570539873063961f7dfc32e","resolution_dir":"C:\Users\Isacar\go\src","default_resolver":{}}" ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mkey←[0m=968bda578de4b93b9c43d8bfddac6b3b ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mname←[0m=968bda578de4b93b9c43d8bfddac6b3b ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.HexGzip#Resolve ←[37mbox←[0m=d4ae0dac9570539873063961f7dfc32e ←[37mfile←[0m=968bda578de4b93b9c43d8bfddac6b3b ←[37mkey←[0m=968bda578de4b93b9c43d8bfddac6b3b ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Pointer#Resolve ←[37mbox←[0m="" ←[37mfile←[0m="package models\n\nimport (\n\t"testing"\n\n\t"github.com/gobuffalo/packr/v2"\n\t"github.com/gobuffalo/suite"\n)\n\ntype ModelSuite struct {\n\tsuite.Model\n}\n\nfunc Test_ModelSuite(t testing.T) {\n\tmodel, err := suite.NewModelWithFixtures(packr.New("app:models:test:fixtures","../fixtures"))\n\tif err != nil {\n\t\tt.Fatal(err)\n\t}\n\n\tas := &ModelSuite{\n\t\tModel: model,\n\t}\n\tsuite.Run(t, as)\n}\n" ←[37mpath←[0m=models/models_test.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#Walk ←[37mosPath←[0m="grifts\db.go.plush" ←[37mpath←[0m=grifts/db.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#Walk ←[37mosPath←[0m="models\models.go.plush" ←[37mpath←[0m=models/models.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#Walk ←[37mosPath←[0m="models\models_test.go.plush" ←[37mpath←[0m=models/models_test.go.plush ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] packr.Box#Open ←[37mname←[0m=postgres.yml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.Disk#Resolve ←[37mbox←[0m="pop:genny:config" ←[37mkey←[0m=postgres.yml.tmpl ←[37mDEBU←[0m[2020-04-03T17:04:56-03:00] resolver.Disk#Resolve ←[37mbox←[0m="pop:genny:config" ←[37merr←[0m="{"Op":"CreateFile","Path":"C:\Users\Isacar\go\config\templates\postgres.yml.tmpl","Err":3}" ←[37mkey←[0m="C:\Users\Isacar\go\config\templates\postgres.yml.tmpl" Usage: buffalo new [name] [flags]

Flags: --api skip all front-end code and configure for an API server --ci-provider string specify the type of ci file you would like buffalo to generate [none, travis, gitlab-ci] (default "none") --config string config file (default is $HOME/.buffalo.yaml) --db-type string specify the type of database you want to use [cockroach, mariadb, mysql, postgres] (default "postgres") --docker string specify the type of Docker file to generate [none, multi, standard] (default "multi") -d, --dry-run dry run -f, --force delete and remake if the app already exists -h, --help help for new --module string specify the root module (package) name. [defaults to 'automatic'] --skip-config skips using the config file --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

time="2020-04-03T17:04:56-03:00" level=error msg="Error: unable to find database.yml template for dialect postgres" PS C:\Users\Isacar\go\src>

jonicreide commented 4 years ago

Same error here, but in Ubuntu 18.04 system.

mark-win commented 4 years ago

Can confirm for Manjaro 19.0.2 Tried out v0.16.0, same result. Had to go for v0.15.5 again. Works.

Pulgafree commented 4 years ago

301 Same problem, maybe a regression?

Can confirm that doing:

choco uninstall buffalo -y choco install buffalo --version 0.15.5

Fixs the error message.

saherla commented 4 years ago

Can confirm for macOS Catalina, I have the same problem using buffalo 0.16.1.

gosom commented 4 years ago

Ubuntu 19.10 go version go1.14.1 linux/amd64 Outside $GOPATH

buffalo new test fails with error: go version go1.14.1 linux/amd64

buffalo new test --skip-pop this works

I noticed the following error (using -v):

DEBU[2020-04-05T13:16:25+03:00] *resolver.Disk#Resolve box="pop:genny:config" err="{\"Op\":\"stat\",\"Path\":\"/home/user/config/templates/postgres.yml.tmpl\",\"Err\":2}" key=/home/user/config/templates/postgres.yml.tmpl

Usage:

So I did the following:

mkdir -p /home/user/config/templates && touch /home/user/config/templates/postgres.yml.tmpl

It looks like it looks for the file at location ../config/templates/postgres.yml.tmpl After that the new command worked

robingrandval commented 4 years ago

Same issue here on OSX 10.14 using buffalo 0.16.1. Works on buffalo 0.15.5

Pulgafree commented 4 years ago

Ubuntu 19.10 go version go1.14.1 linux/amd64 Outside $GOPATH

buffalo new test fails with error: go version go1.14.1 linux/amd64

buffalo new test --skip-pop this works

I noticed the following error (using -v):

DEBU[2020-04-05T13:16:25+03:00] *resolver.Disk#Resolve box="pop:genny:config" err="{\"Op\":\"stat\",\"Path\":\"/home/user/config/templates/postgres.yml.tmpl\",\"Err\":2}" key=/home/user/config/templates/postgres.yml.tmpl

Usage:

So I did the following:

mkdir -p /home/user/config/templates && touch /home/user/config/templates/postgres.yml.tmpl

It looks like it looks for the file at location ../config/templates/postgres.yml.tmpl After that the new command worked

Can confirm that this also works.

saherla commented 4 years ago

Can confirm for macOS Catalina, I have the same problem using buffalo 0.16.1.

You have already solved the problem, update to buffalo 0.16.2

Pulgafree commented 4 years ago

Buffalo 0.16.2 fixes this problem. Can close this for me.