Comments (5)
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.
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.
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.
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.
awesome app - big helper!
thanks buddy
from bozon.
Related Issues (20)
- Use template-literal instead of EJS HOT 1
- Updates needed HOT 1
- Where modules for app/javascripts/main/index.js supposed to go? HOT 1
- How to add a new script for build for armv7l
- Debugging in DevTools HOT 1
- I updates Bozon, now nothing works anymore HOT 1
- Not working the NativeImage class static functions HOT 3
- Webpack config: is there a way to add more than two section(renderer,main) in the webpack.config.js? HOT 1
- Found 2 vulnerabilities (1 moderate, 1 high) after installed bozon HOT 1
- ModuleNotFoundError: dependency already declared in package.json not usable HOT 7
- No reloading for webpack HOT 2
- CSS not rendering properly HOT 8
- Bozon upgrade from v0.8.12 to v1.0.5 - bug issue HOT 4
- Node version not LTS HOT 1
- Create Environment specific package with latest Bozon
- SyntaxError while running bozon start -r on Win10. HOT 1
- execute a script HOT 1
- Loading custom html with custom script HOT 1
- packaging application with native modules HOT 1
- how to include native module and usage of it in correct way. (newby question)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bozon.