Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffalo build failed without soda #1876

macedo opened this issue Jan 14, 2020 · 0 comments

Buffalo build failed without soda #1876

macedo opened this issue Jan 14, 2020 · 0 comments


Copy link

@macedo macedo commented Jan 14, 2020

When I try to build a buffalo application that is not using pop (database), I'm getting an error and can't build the application.

I've removed the model and migrations folders and when I run

buffalo build --static --output server

get the following error

root@93d4de4c4017:/go/src/ buffalo build --static --output passengerservice
# cd /go/src/; git pull --ff-only
error: cannot pull with rebase: You have unstaged changes.
error: please commit or stash them.
package exit status 128
  buffalo build [flags]

  build, b, bill, install

      --clean-assets               will delete public/assets before calling webpack
      --dry-run                    runs the build 'dry'
      --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
      --mod string                 -mod flag for go build
  -o, --output string              set the name of the binary
  -k, --skip-assets                skip running webpack and building assets
      --skip-build-deps            skip building dependencies
      --skip-template-validation   skip validating templates
  -s, --static                     build a static binary using  --ldflags '-linkmode external -extldflags "-static"'
  -t, --tags string                compile with specific build tags
  -v, --verbose                    print debugging information

ERRO[0017] Error: exit status 1 

Is it possible to build an application without database/models ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.