Skip to content

Can't build on OSX (x64) since electron-builder 5.19.0 #635

@nono

Description

@nono

Hello,

  • Version: works with electron-builder up to 5.18.0, but no longer since 5.19.0
  • Target: mac OSX (x64)

I want to build https://github.com/cozy-labs/cozy-desktop/tree/master/gui with a recent version of electron-builder, but it freezes. On electron-builder 5.19.0, it outputs:

MacBook-Pro-de-Cozy:gui cozycloud$ npm run dist
Warning: license in the development package.json (/Users/cozycloud/code/desktop/gui/package.json) is deprecated, please move to the application package.json
Rebuilding app dependencies for arch x64 to /Users/cozycloud/code/desktop/gui/app

npm WARN prefer global node-gyp@3.4.0 should be installed with -g
npm WARN prefer global node-ninja@1.0.2 should be installed with -g


And then, it waits and does not finish.

On electron-builder 5.18.0, it shows:

MacBook-Pro-de-Cozy:gui cozycloud$ npm run dist

> @ dist /Users/cozycloud/code/desktop/gui
> build --arch all

Warning: license in the development package.json (/Users/cozycloud/code/desktop/gui/package.json) is deprecated, please move to the application package.json
Rebuilding app dependencies for arch x64 to /Users/cozycloud/code/desktop/gui/app

npm WARN prefer global node-ninja@1.0.2 should be installed with -g
npm WARN prefer global node-gyp@3.4.0 should be installed with -g

> leveldown@1.4.6 install /Users/cozycloud/code/desktop/gui/app/node_modules/leveldown
> prebuild --install


> sqlite3@3.1.4 install /Users/cozycloud/code/desktop/gui/app/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

[sqlite3] Success: "/Users/cozycloud/code/desktop/gui/app/node_modules/sqlite3/lib/binding/electron-v1.1-darwin-x64/node_sqlite3.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> fsevents@1.0.14 install /Users/cozycloud/code/desktop/gui/app/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/cozycloud/code/desktop/gui/app/node_modules/fsevents/lib/binding/Release/electron-v1.1-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
auto-launch@2.1.0 /Users/cozycloud/code/desktop/gui/app/node_modules/auto-launch
applescript@1.0.0 /Users/cozycloud/code/desktop/gui/app/node_modules/applescript
es6-promise@3.2.1 /Users/cozycloud/code/desktop/gui/app/node_modules/es6-promise
[...]
jsbn@0.1.0 /Users/cozycloud/code/desktop/gui/app/node_modules/fsevents/node_modules/jsbn
jodid25519@1.0.2 /Users/cozycloud/code/desktop/gui/app/node_modules/fsevents/node_modules/jodid25519
tweetnacl@0.13.3 /Users/cozycloud/code/desktop/gui/app/node_modules/fsevents/node_modules/tweetnacl
Packaging for platform darwin x64 using electron 1.1.3 to dist/mac

Signing app (identity: Developer ID Application: Cozy Cloud (3AKXFMV43J))

Creating DMG
Creating MacOS zip                                                                                               

Do you have any idea what is the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions