Trouble Shooting

  • buffalo new fails looking for

    This is caused by an outdated copy of the package. To fix simply update gore:

    $ go get -u

    For information see and

  • buffalo dev fails to start with Unknown

    When starting $ buffalo dev, and you encounter this error:

    There was a problem starting the dev server: Unknown, Please review the troubleshooting docs.

    This may be due to your system missing NodeJS/NPM, Ensure that Node/NPM is installed and is in your $PATH. If Node/NPM are indeed in your $PATH, try renaming webpack.config.js.

    If you are still having issues after attempting the steps above, please reach out to the community in the #buffalo channel on Gophers Slack.

  • package context: unrecognized import path "context" (import path does not begin with hostname)

    When trying to install Buffalo go get returns this error:

    package context: unrecognized import path "context" (import path does not begin with hostname)

    This is due to an outdated version of Go. Buffalo requires Go 1.7 or higher. Please check your installation of Go and ensure you running the latest version.

  • Error: unexpected directory layout: during go get

    Occasionally when running go get on Buffalo you will get the following error:

    unexpected directory layout:
    import path:
    dir: /go/src/
    expand dir: /go/src/
    separator: /

    This issue has been reported previously the Go team,

    The best way to solve this problem is to run go get again, and it seems to fix itself.

  • Error: in application.js from UglifyJs

    If you get this error when running buffalo build you need to update your webpack.config.js to work with

  • Error: Killed 9 when running buffalo on Mac OS X with Go 1.8.0

    This is a known issue with Go,, not with Buffalo.

    The best solution is to upgrade to Go 1.8.1 and rebuild your Go binaries.