gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.07k stars 573 forks source link

build error bug: level=error msg="Error: exit status 1" #2394

Open itildesk opened 7 months ago

itildesk commented 7 months ago

Description

E:\gocode\id4v5>buffalo build -v
DEBU[2024-01-29T08:57:47+08:00] Step: 5c0c6113 DEBU[2024-01-29T08:57:47+08:00] Chdir: E:\gocode\id4v5 DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\cmd\app\main.go DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\a\aa.go DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\a\embed.go DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\cmd\app\buffalo_build_main.go DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\migrations.pop-tmp.md DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\migrations\embed.go DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\a\inflections.json DEBU[2024-01-29T08:57:47+08:00] File: E:\gocode\id4v5\a\database.yml DEBU[2024-01-29T08:57:47+08:00] Exec: go mod tidy DEBU[2024-01-29T08:57:48+08:00] Exec: go build -v -tags development -o id4_server.exe .\cmd\app found packages main (buffalo_build_main.go) and app (main.go) in E:\gocode\id4v5\cmd\app DEBU[2024-01-29T08:57:49+08:00] Rollback: cmd/app/main.go DEBU[2024-01-29T08:57:49+08:00] File: E:\gocode\id4v5\cmd\app\main.go DEBU[2024-01-29T08:57:49+08:00] Delete: a/aa.go DEBU[2024-01-29T08:57:49+08:00] Delete: a/database.yml DEBU[2024-01-29T08:57:49+08:00] Delete: a/embed.go DEBU[2024-01-29T08:57:49+08:00] Delete: a/inflections.json DEBU[2024-01-29T08:57:49+08:00] Delete: cmd/app/buffalo_build_main.go DEBU[2024-01-29T08:57:49+08:00] Delete: migrations/.pop-tmp.md DEBU[2024-01-29T08:57:49+08:00] Delete: migrations/embed.go DEBU[2024-01-29T08:57:49+08:00] Exec: go mod tidy Usage: buffalo build [flags]

Aliases: build, b, bill, install

Flags: --build-flags strings Additional comma-separated build flags to feed to go build --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

time="2024-01-29T08:57:50+08:00" level=error msg="Error: exit status 1"

To Reproduce

No response

Additional Context

Details

``` Paste the output of `buffalo info` here! ```