Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

gfcli build error: [FATA] Error: exit status 128 #140

Open
colorfullee opened this issue Dec 31, 2021 · 3 comments
Open

gfcli build error: [FATA] Error: exit status 128 #140

colorfullee opened this issue Dec 31, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@colorfullee
Copy link

colorfullee commented Dec 31, 2021

Your project is awsome ! Everything is ok when i use go run main.go, But something confuses me When i finish my project and try to build it, The console throws an error [FATA] Error: exit status 128
Here is my project build config in /manifest/config/config.yaml

gfcli:
  build:
    name: "gf"
    arch: "all"
    system: "all"
    mod: "none"
    cgo: 0
    pack: ""
    version: "v0.0.1"
    output: "./bin"
    extra: ""

Project environment(gf version):

GoFrame CLI Tool v2.0.0, https://goframe.org 
GoFrame Version: cannot find goframe requirement in go.mod 
CLI Installed At: /usr/local/bin/gf 
CLI Built Detail:
  Go Version:  go1.17.4
  GF Version:  v2.0.0-beta
  Git Commit:  2021-12-16 01:03:53 9295e29f2b2819faf4acb65d409931d445911faa
  Build Time:  2021-12-15 17:03:23

About my OS:

MacOS BigSur
CPU : Intel Core i7 2 GHz
RAM : 16 GB 2400 MHz

I'm looking forward to your answer! Thanks!

@colorfullee
Copy link
Author

colorfullee commented Dec 31, 2021

Build successful by the flowing cmd

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go

upload main file and config.yaml to server, then use the flowing cmd

nohup ./main --gf.gcfg.file=config.yaml &

@yss930819
Copy link

same problem

@bmlts
Copy link

bmlts commented Jan 5, 2022

遇到同样问题
image

@gqcn gqcn added the bug Something isn't working label Jan 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants