Code Monkey home page Code Monkey logo

Comments (5)

alchaplinsky avatar alchaplinsky commented on July 29, 2024

Hey, of course it is supported.
Error you're experiencing is actually a known issue. In order to build windows app on OSx, you simply need wine, so:

brew install wine

from bozon.

ellerbrock avatar ellerbrock commented on July 29, 2024

thx for the info, i'm just installing it, found it a few minutes before you wrote.
would be cool if you write this for others in the readme.md.
also seems like xquartz is needed. brew install Caskroom/versions/xquartz-beta after installing i will make a restart and let you know. but anyway, linux threw a error as well when i tried bozen package linux:

electron/development/app7
▶ bozen package linux
zsh: command not found: bozen

electron/development/app7                                                                                                                                  ⍉
▶ bozon package linux
(node:73118) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[03:16:57] Using gulpfile /app7/gulpfile.js
[03:16:57] Starting 'html'...
[03:16:57] Starting 'images'...
[03:16:57] Starting 'styles'...
[03:16:57] Starting 'scripts:main'...
[03:16:57] Starting 'scripts:renderer'...
[03:16:58] Finished 'images' after 393 ms
[03:16:58] Version: webpack 1.13.1
         Asset     Size  Chunks             Chunk Names
application.js  1.88 kB       0  [emitted]  main
[03:16:58] Finished 'styles' after 590 ms
[03:16:58] Finished 'scripts:main' after 589 ms
[03:16:58] Finished 'html' after 650 ms
[03:16:58] Finished 'scripts:renderer' after 589 ms
[03:16:58] Starting 'prepare:app'...
[03:16:58] Finished 'prepare:app' after 66 ms
Unhandled rejection Error: Please specify author 'email' in the application package.json ('/app7/builds/production/package.json')

See https://docs.npmjs.com/files/package.json#people-fields-author-contributors

It is required to set Linux .deb package maintainer. Or you can set maintainer in the custom linux options.
(see https://github.com/electron-userland/electron-builder#distributable-format-configuration).

    at Packager.checkMetadata (/app7/node_modules/electron-builder/src/packager.ts:181:15)
    at Packager.<anonymous> (/app7/node_modules/electron-builder/src/packager.ts:68:10)
    at next (native)
    at /app7/node_modules/read-package-json/read-json.js:356:5
    at checkBinReferences_ (/app7/node_modules/read-package-json/read-json.js:320:45)
    at final (/app7/node_modules/read-package-json/read-json.js:354:3)
    at then (/app7/node_modules/read-package-json/read-json.js:124:5)
    at ReadFileContext.<anonymous> (/app7/node_modules/read-package-json/read-json.js:295:20)
    at ReadFileContext.callback (/app7/node_modules/graceful-fs/graceful-fs.js:78:16)
From previous event:
    at tsAwaiter (/app7/node_modules/electron-builder/src/util/awaiter.ts:10:47)
    at Object.build (/app7/node_modules/electron-builder/src/builder.ts:190:52)
    at Packager.productionBuild (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/lib/packaging/packager.js:46:33)
    at Packager.build (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/lib/packaging/packager.js:19:19)
    at Object.runner.package (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/lib/bin/runner.js:21:42)
    at Command.<anonymous> (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/lib/bin/bozon.js:40:19)
    at Command.listener (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/node_modules/commander/index.js:301:8)
    at emitTwo (events.js:106:13)
    at Command.emit (events.js:191:7)
    at Command.parseArgs (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/node_modules/commander/index.js:615:12)
    at Command.parse (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/node_modules/commander/index.js:458:21)
    at Object.<anonymous> (/.nvm/versions/node/v6.3.0/lib/node_modules/bozon/lib/bin/bozon.js:43:9)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)

from bozon.

alchaplinsky avatar alchaplinsky commented on July 29, 2024

Ok, looks like I need to update package.json which is generated by bozon to include "email" field, to make it work for Linux. Will do that next, thanks!

from bozon.

ellerbrock avatar ellerbrock commented on July 29, 2024

damn sorry, i over read this. so so many times send these info author email bla bla message in npm_debug.log that i did had a closer look. so windows setup finally finish, i make a restart then try it again and write let u know ...

from bozon.

ellerbrock avatar ellerbrock commented on July 29, 2024

giphy 14
awesome app - big helper!
thanks buddy

from bozon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.