Closed dosaki closed 2 years ago
From your details I see you are using Go 1.12.3, the current version of Buffalo only supports Go 1.16.x and Go 1.17.x. Can you retry with an updated installation?
Additionally you seem to be using a quite outdated version of buffalo (v0.14.10). Could you retry with a more recent version (v0.17.x)?
I thought I had updated buffalo with buffalo update
, but now I read it more clearly
In the meantime I've upgraded go as well and now, at your suggestion, I upgraded buffalo (properly now!) but I still have the same issue:
When I build:
The error you experience now is a bug that was introduced with the most recent version (v0.17.6) of buffalo. A fix is currently pending review and should soon be available.
In the meantime you can use v0.17.5 to avoid this error:
go install github.com/gobuffalo/cli/cmd/buffalo@v0.17.5
The problem is not buffalo build
but buffalo new
. Recreate your project and then call build again, then it should work 😊
PS: the warnings you get with buffalo new
in versions before v0.17.6 are safe to ignore. v0.17.6 should have fixed those but introduced a different issue that should soon be fixed.
Ah dang!
I tried using v0.17.5 but I'm still unable to build.
I'm going to try to recreate the project and move the files over... I'll edit this with the results.
EDIT: Recreating the project works! Took quite a bit of work but we got there.
This means, though, that upgrading from 0.14 to 0.17 doesn't work though?
You can try to use the buffalo fix
command to upgrade your codebase from a previous version to the current version of gobuffalo. This is just a helper though and might not be able to fix all issues that come up (especially if you skip a few versions during the upgrade).
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Description
When trying to build using
buffalo build
, it errors out without letting me know what's wrongSteps to Reproduce the Problem
Please describe in painful detail what you did (so others can play along with you) to get to this point. This includes things like the exact command(s) you used, or the
curl
command you used, that sort of thing.buffalo build --verbose --environment production
I can reproduce this even with a freshly created app:
Note: Creating a new app also errors out (but does create the app. How complete that is, I don't know). See #2160
Expected Behavior
It should build the app
Actual Behavior
It doesn't build and the command outputs the following:
Info
Please run
buffalo info
and paste the information below where it says "PASTE_HERE".