electron-userland / electron-builder-binaries

172 stars 60 forks source link

Package window installer failed on ubuntu 16 #23

Open jacktang opened 5 years ago

jacktang commented 5 years ago

I cloned https://github.com/electron-react-boilerplate/electron-react-boilerplate on the ubuntu 16 and installed wine and mono as https://www.electron.build/multi-platform-build suggested. And finally it failed and the error

[1] yarn build-renderer exited with code 0
  • electron-builder version=20.38.4
  • loaded configuration file=package.json ("build" field)
  • writing effective config file=release/builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=win32 arch=x64 electron=4.0.0 appOutDir=release/win-unpacked
  • building        target=MSI arch=x64 file=release/ElectronReact 0.17.1.msi
  • building        target=nsis file=release/ElectronReact Setup 0.17.1.exe archs=x64 oneClick=true perMachine=false
  ⨯ error: exit status 255
path: /usr/bin/wine
args: wine Z:\home\admin\.cache\electron-builder\wix\wix-4.0.0.5512.2\candle.exe -arch x64 -dappDir=Z:\home\admin\electron-react-boilerplate\release\win-unpacked -pedantic -wx project.wxs
output:
error output:0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

github.com/develar/app-builder/pkg/util.Execute
    /Volumes/data/Documents/app-builder/pkg/util/util.go:74

Could you please tell me what should I do to fix this?

enncy commented 2 years ago

same as u