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

在Linux上打包报错 #16

Open
guozhiqiang123 opened this issue Sep 19, 2022 · 0 comments
Open

在Linux上打包报错 #16

guozhiqiang123 opened this issue Sep 19, 2022 · 0 comments

Comments

@guozhiqiang123
Copy link

guozhiqiang123 commented Sep 19, 2022

> [email protected] dist
> electron-builder

  • electron-builder  version=22.14.13 os=5.15.45-amd64-desktop
  • loaded configuration  file=package.json ("build" field)
  • description is missed in the package.json  appPackageFile=/JustWrite/package.json
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=6.1.12 appOutDir=dist/linux-unpacked
  • building        target=AppImage arch=x64 file=dist/简单写作-5.7.6.AppImage
  ⨯ bmp: unsupported feature: BMP version (header size 0)
github.com/develar/go-fs-util.CloseAndCheckError
        /Volumes/data/go/pkg/mod/github.com/develar/[email protected]/fs.go:117
github.com/develar/app-builder/pkg/icons.DecodeImageAndClose
        /Volumes/data/Documents/app-builder/pkg/icons/image-util.go:90
github.com/develar/app-builder/pkg/icons.LoadImage
        /Volumes/data/Documents/app-builder/pkg/icons/image-util.go:61                                        
github.com/develar/app-builder/pkg/icons.loadImage                                                            
        /Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:334                                   
github.com/develar/app-builder/pkg/icons.configureInputInfoFromSingleFile                                     
        /Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:316                                   
github.com/develar/app-builder/pkg/icons.doConvertIcon                                                        
        /Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:241                                   
github.com/develar/app-builder/pkg/icons.ConvertIcon                                                          
        /Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:56                                    
github.com/develar/app-builder/pkg/icons.ConfigureCommand.func1                                               
        /Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:33                                    
github.com/alecthomas/kingpin.(*actionMixin).applyActions                                                     
        /Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28              
github.com/alecthomas/kingpin.(*Application).applyActions                                                     
        /Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557                 
github.com/alecthomas/kingpin.(*Application).execute                                                          
        /Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390                 
github.com/alecthomas/kingpin.(*Application).Parse                                                            
        /Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222                 
main.main                                                                                                     
        /Volumes/data/Documents/app-builder/main.go:90                                                        
runtime.main                                                                                                  
        /usr/local/Cellar/go/1.16.5/libexec/src/runtime/proc.go:225                                           
runtime.goexit                                                                                                
        /usr/local/Cellar/go/1.16.5/libexec/src/runtime/asm_amd64.s:1371                                      
  ⨯ /JustWrite/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  failedTask=build stackTrace=Error: /JustWrite/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/JustWrite/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (node:events:628:26)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant