question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bundle format unrecognized, invalid, or unsuitable (re-open)

See original GitHub issue
  • Version: 19.4.2 or 19.5.0
  • Target: macOs

DEBUG you requested:

yarn run dist:osx
yarn run v0.24.6
$ yarn dist:production:osx && yarn dist:dev:osx && yarn dist:staging:osx
yarn dist:production:osx v0.24.6
$ cross-env DEBUG='electron-builder' NODE_ENV='production' build -m  --config=config/production/electron-builder.yml --publish=never
electron-builder 19.5.0
Using config/production/electron-builder.yml configuration file
  electron-builder Effective config: {
  electron-builder   "directories": {
  electron-builder     "buildResources": "build/production",
  electron-builder     "output": "dist/production"
  electron-builder   },
  electron-builder   "appId": "org.MYAPP.electron",
  electron-builder   "mac": {
  electron-builder     "category": "public.app-category.productivity",
  electron-builder     "artifactName": "MYAPP-${version}-${env.NODE_ENV}-mac.${ext}",
  electron-builder     "target": [
  electron-builder       "zip"
  electron-builder     ]
  electron-builder   },
  electron-builder   "files": [
  electron-builder     "app/**/*",
  electron-builder     "node_modules/**/*",
  electron-builder     "package.json",
  electron-builder     "!env.json"
  electron-builder   ],
  electron-builder   "extraResources": [
  electron-builder     {
  electron-builder       "from": "config/production/env.json",
  electron-builder       "to": "env.json"
  electron-builder     }
  electron-builder   ],
  electron-builder   "win": {
  electron-builder     "target": "nsis"
  electron-builder   },
  electron-builder   "nsis": {
  electron-builder     "artifactName": "MYAPP-${version}-${env.NODE_ENV}-win.${ext}",
  electron-builder     "installerIcon": "build/production/icon.ico",
  electron-builder     "runAfterFinish": false,
  electron-builder     "deleteAppDataOnUninstall": true,
  electron-builder     "allowToChangeInstallationDirectory": true,
  electron-builder     "oneClick": false
  electron-builder   },
  electron-builder   "dmg": null,
  electron-builder   "linux": null
  electron-builder } +0ms
CSC_KEY_PASSWORD is not defined, empty password will be used
  electron-builder Executing security list-keychains +370ms
    "/Users/distiller/Library/Keychains/login.keychain"
    "/Users/distiller/Library/Keychains/circle.keychain"
    "/Library/Keychains/System.keychain"

  electron-builder Executing security list-keychains -d user -s /Users/distiller/Library/Caches/electron-builder/electron-builder-root-certs.keychain /Users/distiller/Library/Keychains/login.keychain /Users/distiller/Library/Keychains/circle.keychain /Library/Keychains/System.keychain +55ms
  electron-builder Executing security create-keychain -p 5fa81391874a2a85 /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-yENslH/0-1.keychain +49ms
  electron-builder Executing security unlock-keychain -p 5fa81391874a2a85 /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-yENslH/0-1.keychain +31ms
  electron-builder Executing security set-keychain-settings -t 3600 -u /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-yENslH/0-1.keychain +71ms
  electron-builder Executing security import /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-yENslH/0-2.p12 -k /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-yENslH/0-1.keychain -T /usr/bin/codesign -T /usr/bin/productbuild -P  +62ms
1 identity imported.

Rebuilding native production dependencies for darwin:x64
Rebuilding native dependency spellchecker
  electron-builder Spawning /usr/local/Cellar/node/8.1.2/bin/node /usr/local/Cellar/yarn/0.24.6/libexec/bin/yarn.js run install -- +4s
yarn run v0.24.6
$ node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.1.2 | darwin | x64
gyp http GET https://atom.io/download/electron/v1.6.11/iojs-v1.6.11.tar.gz
gyp http 200 https://atom.io/download/electron/v1.6.11/iojs-v1.6.11.tar.gz
gyp http GET https://atom.io/download/electron/v1.6.11/SHASUMS256.txt
gyp http 200 https://atom.io/download/electron/v1.6.11/SHASUMS256.txt
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/distiller/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/MYAPP-electron/node_modules/spellchecker/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/.electron-gyp/iojs-1.6.11/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/distiller/.electron-gyp/iojs-1.6.11',
gyp info spawn args   '-Dnode_gyp_dir=/Users/distiller/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/distiller/.electron-gyp/iojs-1.6.11/<(target_arch)/iojs.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/distiller/MYAPP-electron/node_modules/spellchecker',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affentry.o
../vendor/hunspell/src/hunspell/affentry.cxx:544:47: warning: while loop has
      empty body [-Wempty-body]
                        while (p && *p != ']' && (p = nextchar(p)));
                                                                   ^
../vendor/hunspell/src/hunspell/affentry.cxx:544:47: note: put the semicolon on
      a separate line to silence this warning
1 warning generated.
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affixmgr.o
In file included from ../vendor/hunspell/src/hunspell/affixmgr.cxx:12:
../vendor/hunspell/src/hunspell/affentry.hxx:30:105: warning: implicit
      conversion of NULL constant to 'unsigned short' [-Wnull-conversion]
  ...char * word, int len, char in_compound, const FLAG needflag = NULL);
                                                                 ~ ^~~~
                                                                   0
../vendor/hunspell/src/hunspell/affentry.hxx:93:114: warning: implicit
      conversion of NULL constant to 'unsigned short' [-Wnull-conversion]
  ...int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL);
                                                                ~ ^~~~
                                                                  0
../vendor/hunspell/src/hunspell/affixmgr.cxx:3654:65: warning: 'strncmp' call
      operates on objects of type 'const char' while the size is based on a
      different type 'const char *' [-Wsizeof-pointer-memaccess]
  ...if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
                        ~~~~~~~         ^~~~~~~
../vendor/hunspell/src/hunspell/affixmgr.cxx:3654:65: note: did you mean to
      provide an explicit length?
  ...if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
                                        ^~~~~~~
3 warnings generated.
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/csutil.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/dictmgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/filemgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hashmgr.o
In file included from ../vendor/hunspell/src/hunspell/hashmgr.cxx:9:
../vendor/hunspell/src/hunspell/hashmgr.hxx:17:21: warning: private field
      'userword' is not used [-Wunused-private-field]
  int               userword;
                    ^
1 warning generated.
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunspell.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunzip.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/phonet.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/replist.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/suggestmgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/parsers/textparser.o
  LIBTOOL-STATIC Release/hunspell.a
  CXX(target) Release/obj.target/spellchecker/src/main.o
  CXX(target) Release/obj.target/spellchecker/src/spellchecker_hunspell.o
  CXX(target) Release/obj.target/spellchecker/src/spellchecker_mac.o
  CXX(target) Release/obj.target/spellchecker/src/transcoder_posix.o
  SOLINK_MODULE(target) Release/spellchecker.node
gyp info ok
✨  Done in 10.34s.
  electron-builder /usr/local/Cellar/node/8.1.2/bin/node (6840) exited with code 0 +11s
Rebuilding native dependency fsevents
  electron-builder Spawning /usr/local/Cellar/node/8.1.2/bin/node /usr/local/Cellar/yarn/0.24.6/libexec/bin/yarn.js run install -- +1ms
yarn run v0.24.6
$ node install
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.33
node-pre-gyp info using node@8.1.2 | darwin | x64
node-pre-gyp info build requesting source compile
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.1
gyp info using node@8.1.2 | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.1
gyp info using node@8.1.2 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/distiller/MYAPP-electron/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/MYAPP-electron/node_modules/fsevents/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/MYAPP-electron/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/.electron-gyp/iojs-1.6.11/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/distiller/.electron-gyp/iojs-1.6.11',
gyp info spawn args   '-Dnode_gyp_dir=/Users/distiller/MYAPP-electron/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=iojs.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/distiller/MYAPP-electron/node_modules/fsevents',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.1
gyp info using node@8.1.2 | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  COPY /Users/distiller/MYAPP-electron/node_modules/fsevents/lib/binding/Release/electron-v1.6-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp
gyp info ok
node-pre-gyp info ok
✨  Done in 3.47s.
  electron-builder /usr/local/Cellar/node/8.1.2/bin/node (8855) exited with code 0 +4s
Packaging for darwin x64 using electron 1.6.11 to dist/production/mac
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[>                                            ] 0.0% (0 B/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[>                                            ] 0.0% of 46.08 MB (0 B/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[>                                            ] 2.1% of 46.08 MB (982.35 kB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[====>                                        ] 13.2% of 46.08 MB (6.07 MB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[============>                                ] 31.0% of 46.08 MB (11.44 MB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[======================>                      ] 51.4% of 46.08 MB (15.8 MB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[===============================>             ] 72.0% of 46.08 MB (18.96 MB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[=====================================>       ] 86.2% of 46.08 MB (19.87 MB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[============================================>] 100.0% of 46.08 MB (23.04 MB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[============================================>] 100.0% of 46.08 MB (23.04 MB/s)
Downloading tmp-6833-0-electron-v1.6.11-darwin-x64.zip
[============================================>] 100.0% of 46.08 MB (23.04 MB/s)
Downloading tmp-6833-1-SHASUMS256.txt-1.6.11
[>                                            ] 0.0% (0 B/s)
Downloading tmp-6833-1-SHASUMS256.txt-1.6.11
[>                                            ] 0.0% of 2.96 kB (0 B/s)
Downloading tmp-6833-1-SHASUMS256.txt-1.6.11
[============================================>] 100.0% of 2.96 kB (2.96 kB/s)
Downloading tmp-6833-1-SHASUMS256.txt-1.6.11
[============================================>] 100.0% of 2.96 kB (2.96 kB/s)
Downloading tmp-6833-1-SHASUMS256.txt-1.6.11
[============================================>] 100.0% of 2.96 kB (2.96 kB/s)
  electron-builder Spawning /Users/distiller/MYAPP-electron/node_modules/7zip-bin-mac/7za x -bd /Users/distiller/Library/Caches/electron/electron-v1.6.11-darwin-x64.zip -o/Users/distiller/MYAPP-electron/dist/production/mac +4s

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 46077999 bytes (44 MiB)

Extracting archive: /Users/distiller/Library/Caches/electron/electron-v1.6.11-darwin-x64.zip
--
Path = /Users/distiller/Library/Caches/electron/electron-v1.6.11-darwin-x64.zip
Type = zip
Physical Size = 46077999

Everything is Ok

Folders: 143
Files: 181
Size:       117423534
Compressed: 46077999
  electron-builder /Users/distiller/MYAPP-electron/node_modules/7zip-bin-mac/7za (9182) exited with code 0 +2s
  electron-builder Dev or extraneous dependencies in the /Users/distiller/MYAPP-electron: 7zip-bin, 7zip-bin-mac, abbrev, accessibility-developer-tools, ajv, ajv-keywords, ansi-align, @types/node, zip-stream, yauzl, yargs-parser, yargs, y18n, xmldom, xmlbuilder, xdg-basedir, write-file-atomic, wrappy, wrap-ansi, widest-line, yargs-parser/node_modules/camelcase, yargs/node_modules/camelcase, wide-align, which-module, walkdir, uuid-1345, utf8-byte-length, url-parse-lax, update-notifier, unzip-response, universalify, unique-string, uid-number, typedarray, truncate-utf8-bytes, timed-out, throttleit, thenify, thenify-all, term-size, tempfile, tar-stream, tar-pack, tar, symbol-observable, term-size/node_modules/execa, term-size/node_modules/npm-run-path, sumchecker, tempfile/node_modules/uuid, strip-json-comments, tar-stream/node_modules/bl, strip-eof, string.prototype.codepointat, string-width, stat-mode, sprintf-js, spawn-rx, source-map-support, source-map, slide, set-blocking, semver-diff, sanitize-filename, rxjs, rimraf, restore-cursor, require-main-filename, require-directory, registry-url, registry-auth-token, rc, prepend-http, plist, pend, path-key, parse-color, package-json, p-locate, p-limit, p-finally, osenv, os-tmpdir, os-locale, os-homedir, ora, onetime, once, nugget, npmlog, npm-run-path, nopt, node-pre-gyp, node-gyp, nugget/node_modules/single-line-log, node-forge, node-emoji, npm-run-path/node_modules/path-key, node-pre-gyp/node_modules/nopt, mz, ms, mimic-fn, mem, macaddress, lowercase-keys, log-symbols, lodash.assign, locate-path, lcid, lazystream, latest-version, klaw, json5, json-schema-traverse, js-yaml, isbinaryfile, is-stream, is-retry-allowed, is-redirect, is-npm, is-fullwidth-code-point, is-ci, invert-kv, ini, inflight, imurmurhash, import-lazy, humanize-plus, home-path, highlight.js, has-unicode, got, glob, got/node_modules/get-stream, get-stream, get-caller-file, gauge, fstream-ignore, fstream, fs.realpath, fs-promise, fs-extra-p, fs-extra, fs-promise/node_modules/fs-extra, fs-extra/node_modules/jsonfile, fd-slicer, fcopy-pre-bundled, fast-deep-equal, extract-zip, execa, esprima, extract-zip/node_modules/debug, extract-zip/node_modules/minimist, extract-zip/node_modules/mkdirp, es6-promise, execa/node_modules/cross-spawn, end-of-stream, electron-rebuild, electron-publish, electron-osx-sign, electron-download-tf, electron-download, electron-publish/node_modules/mime, electron-download-tf/node_modules/env-paths, electron-download-tf/node_modules/sumchecker, electron-builder-util, electron-download/node_modules/fs-extra, electron-download/node_modules/path-exists, electron-builder-squirrel-windows, electron-builder-http, electron-builder-core, electron-builder, electron, electron-builder-squirrel-windows/node_modules/debug, electron-builder-squirrel-windows/node_modules/electron-builder-http, electron-builder-squirrel-windows/node_modules/electron-builder-util, electron-builder-squirrel-windows/node_modules/ms, electron-builder/node_modules/find-up, electron-builder/node_modules/is-fullwidth-code-point, electron-builder/node_modules/load-json-file, electron-builder/node_modules/os-locale, electron-builder/node_modules/path-type, electron-builder/node_modules/read-pkg, electron-builder/node_modules/read-pkg-up, electron-builder/node_modules/string-width, duplexer3, devtron, delegates, deep-extend, electron-builder/node_modules/yargs-parser, electron-builder/node_modules/yargs, electron-builder/node_modules/which-module, electron-builder/node_modules/strip-bom, debug, cuint, crypto-random-string, cross-spawn-async, create-error-class, crc32-stream, crc, console-control-strings, configstore, concat-stream, compress-commons, compare-version, configstore/node_modules/dot-prop, colors, color-convert, concat-stream/node_modules/readable-stream, code-point-at, cliui, cli-spinners, cli-cursor, cli-boxes, ci-info, chromium-pickle-js, capture-stack-trace, camelcase, buffer-crc32, boxen, bluebird-lst, bluebird, block-stream, boxen/node_modules/is-fullwidth-code-point, base64-js, boxen/node_modules/string-width, asar-integrity, argparse, are-we-there-yet, archiver-utils, archiver, aproba, any-promise, archiver/node_modules/async +4s
  electron-builder node_modules/fsevents is not packed into asar archive - contains executable code +10s
  electron-builder getPublishConfigsForUpdateInfo: no publishConfigs, detect using repository info +3s
  electron-builder getPublishConfigsForUpdateInfo: {
  electron-builder   "type": "github",
  electron-builder   "protocols": [
  electron-builder     "git",
  electron-builder     "http",
  electron-builder     "git+ssh",
  electron-builder     "git+https",
  electron-builder     "ssh",
  electron-builder     "https"
  electron-builder   ],
  electron-builder   "domain": "github.com",
  electron-builder   "treepath": "tree",
  electron-builder   "filetemplate": "https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}",
  electron-builder   "bugstemplate": "https://{domain}/{user}/{project}/issues",
  electron-builder   "gittemplate": "git://{auth@}{domain}/{user}/{project}.git{#committish}",
  electron-builder   "tarballtemplate": "https://{domain}/{user}/{project}/archive/{committish}.tar.gz",
  electron-builder   "sshtemplate": "git@{domain}:{user}/{project}.git{#committish}",
  electron-builder   "sshurltemplate": "git+ssh://git@{domain}/{user}/{project}.git{#committish}",
  electron-builder   "browsetemplate": "https://{domain}/{user}/{project}{/tree/committish}",
  electron-builder   "docstemplate": "https://{domain}/{user}/{project}{/tree/committish}#readme",
  electron-builder   "httpstemplate": "git+https://{auth@}{domain}/{user}/{project}.git{#committish}",
  electron-builder   "shortcuttemplate": "{type}:{user}/{project}{#committish}",
  electron-builder   "pathtemplate": "{user}/{project}{#committish}",
  electron-builder   "pathmatch": {},
  electron-builder   "protocols_re": {},
  electron-builder   "user": "MYAPP",
  electron-builder   "auth": null,
  electron-builder   "project": "MYAPP-electron",
  electron-builder   "committish": null,
  electron-builder   "default": "https",
  electron-builder   "opts": {}
  electron-builder } +7ms
  electron-builder Owner or project is not specified explicitly for github, call getInfo: owner: undefined, project: undefined +4ms
  electron-builder getPublishConfigsForUpdateInfo: resolve to publish config {
  electron-builder   "owner": "MYAPP",
  electron-builder   "repo": "MYAPP-electron",
  electron-builder   "provider": "github"
  electron-builder } +1ms
  electron-builder Executing security find-identity -v /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-yENslH/0-1.keychain +62ms
  electron-builder Executing security find-identity -v -p codesigning /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-yENslH/0-1.keychain +9ms
  1) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX "Developer ID Application: My Company"
     1 valid identities found

  1) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX "Developer ID Application: My Company"
     1 valid identities found

Signing app (identity: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX Developer ID Application: My Company)
Building macOS zip
  electron-builder Spawning /Users/distiller/MYAPP-electron/node_modules/7zip-bin-mac/7za a -bd -mx=9 -mm=Deflate /Users/distiller/MYAPP-electron/dist/production/MYAPP-3.0.3-production-mac.zip MYAPP.app +12s

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive:
378 folders, 968 files, 137781689 bytes (132 MiB)

Creating archive: /Users/distiller/MYAPP-electron/dist/production/MYAPP-3.0.3-production-mac.zip

Items to compress: 1346


Files read from disk: 968
Archive size: 50472800 bytes (49 MiB)
Everything is Ok
  electron-builder /Users/distiller/MYAPP-electron/node_modules/7zip-bin-mac/7za (9245) exited with code 0 +1m
  electron-builder artifactCreated: {
  electron-builder   "file": "/Users/distiller/MYAPP-electron/dist/production/MYAPP-3.0.3-production-mac.zip",
  electron-builder   "safeArtifactName": "MYAPP-electron-3.0.3-mac.zip",
  electron-builder   "target": {
  electron-builder     "name": "zip",
  electron-builder     "isAsyncSupported": true,
  electron-builder     "outDir": "/Users/distiller/MYAPP-electron/dist/production",
  electron-builder     "packager": "<stripped sensitive data>"
  electron-builder   },
  electron-builder   "arch": 1,
  electron-builder   "packager": "<stripped sensitive data>"
  electron-builder },
  electron-builder publishConfigs: [],
  electron-builder isPublish: false +9ms
  electron-builder getPublishConfigsForUpdateInfo: no publishConfigs, detect using repository info +2ms
  electron-builder getPublishConfigsForUpdateInfo: {
  electron-builder   "type": "github",
  electron-builder   "protocols": [
  electron-builder     "git",
  electron-builder     "http",
  electron-builder     "git+ssh",
  electron-builder     "git+https",
  electron-builder     "ssh",
  electron-builder     "https"
  electron-builder   ],
  electron-builder   "domain": "github.com",
  electron-builder   "treepath": "tree",
  electron-builder   "filetemplate": "https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}",
  electron-builder   "bugstemplate": "https://{domain}/{user}/{project}/issues",
  electron-builder   "gittemplate": "git://{auth@}{domain}/{user}/{project}.git{#committish}",
  electron-builder   "tarballtemplate": "https://{domain}/{user}/{project}/archive/{committish}.tar.gz",
  electron-builder   "sshtemplate": "git@{domain}:{user}/{project}.git{#committish}",
  electron-builder   "sshurltemplate": "git+ssh://git@{domain}/{user}/{project}.git{#committish}",
  electron-builder   "browsetemplate": "https://{domain}/{user}/{project}{/tree/committish}",
  electron-builder   "docstemplate": "https://{domain}/{user}/{project}{/tree/committish}#readme",
  electron-builder   "httpstemplate": "git+https://{auth@}{domain}/{user}/{project}.git{#committish}",
  electron-builder   "shortcuttemplate": "{type}:{user}/{project}{#committish}",
  electron-builder   "pathtemplate": "{user}/{project}{#committish}",
  electron-builder   "pathmatch": {},
  electron-builder   "protocols_re": {},
  electron-builder   "user": "MYAPP",
  electron-builder   "auth": null,
  electron-builder   "project": "MYAPP-electron",
  electron-builder   "committish": null,
  electron-builder   "default": "https",
  electron-builder   "opts": {}
  electron-builder } +7ms
  electron-builder Owner or project is not specified explicitly for github, call getInfo: owner: undefined, project: undefined +2ms
  electron-builder getPublishConfigsForUpdateInfo: resolve to publish config {
  electron-builder   "owner": "MYAPP",
  electron-builder   "repo": "MYAPP-electron",
  electron-builder   "provider": "github"
  electron-builder } +1ms
  electron-builder artifactCreated: {
  electron-builder   "file": "/Users/distiller/MYAPP-electron/dist/production/github/latest-mac.json",
  electron-builder   "arch": null,
  electron-builder   "packager": "<stripped sensitive data>",
  electron-builder   "target": null,
  electron-builder   "publishConfig": {
  electron-builder     "owner": "MYAPP",
  electron-builder     "repo": "MYAPP-electron",
  electron-builder     "provider": "github"
  electron-builder   }
  electron-builder },
  electron-builder publishConfigs: [
  electron-builder   {
  electron-builder     "owner": "MYAPP",
  electron-builder     "repo": "MYAPP-electron",
  electron-builder     "provider": "github"
  electron-builder   }
  electron-builder ],
  electron-builder isPublish: false +19ms
  electron-builder artifactCreated: {
  electron-builder   "file": "/Users/distiller/MYAPP-electron/dist/production/latest-mac.yml",
  electron-builder   "arch": null,
  electron-builder   "packager": "<stripped sensitive data>",
  electron-builder   "target": null,
  electron-builder   "publishConfig": {
  electron-builder     "owner": "MYAPP",
  electron-builder     "repo": "MYAPP-electron",
  electron-builder     "provider": "github"
  electron-builder   }
  electron-builder },
  electron-builder publishConfigs: [
  electron-builder   {
  electron-builder     "owner": "MYAPP",
  electron-builder     "repo": "MYAPP-electron",
  electron-builder     "provider": "github"
  electron-builder   }
  electron-builder ],
  electron-builder isPublish: false +292ms
✨  Done in 121.93s.
yarn dist:dev:osx v0.24.6
$ cross-env DEBUG='electron-builder' NODE_ENV='dev' build -m --config=config/dev/electron-builder.yml --publish=never
electron-builder 19.5.0
Using config/dev/electron-builder.yml configuration file
  electron-builder Effective config: {
  electron-builder   "directories": {
  electron-builder     "buildResources": "build/dev",
  electron-builder     "output": "dist/dev"
  electron-builder   },
  electron-builder   "appId": "org.MYAPP.electron",
  electron-builder   "mac": {
  electron-builder     "category": "public.app-category.productivity",
  electron-builder     "artifactName": "MYAPP-${version}-${env.NODE_ENV}-mac.${ext}",
  electron-builder     "target": [
  electron-builder       "zip"
  electron-builder     ]
  electron-builder   },
  electron-builder   "files": [
  electron-builder     "app/**/*",
  electron-builder     "node_modules/**/*",
  electron-builder     "package.json",
  electron-builder     "!env.json"
  electron-builder   ],
  electron-builder   "extraResources": [
  electron-builder     {
  electron-builder       "from": "config/dev/env.json",
  electron-builder       "to": "env.json"
  electron-builder     }
  electron-builder   ],
  electron-builder   "win": {
  electron-builder     "target": "nsis"
  electron-builder   },
  electron-builder   "nsis": {
  electron-builder     "artifactName": "MYAPP-${version}-${env.NODE_ENV}-win.${ext}",
  electron-builder     "installerIcon": "build/dev/icon.ico",
  electron-builder     "runAfterFinish": false,
  electron-builder     "deleteAppDataOnUninstall": true,
  electron-builder     "allowToChangeInstallationDirectory": true,
  electron-builder     "oneClick": false
  electron-builder   },
  electron-builder   "dmg": null,
  electron-builder   "linux": null
  electron-builder } +0ms
CSC_KEY_PASSWORD is not defined, empty password will be used
  electron-builder Executing security list-keychains +336ms
    "/Users/distiller/Library/Caches/electron-builder/electron-builder-root-certs.keychain"
    "/Users/distiller/Library/Keychains/login.keychain"
    "/Users/distiller/Library/Keychains/circle.keychain"
    "/Library/Keychains/System.keychain"
    "/Library/Keychains/System.keychain"

  electron-builder Executing security create-keychain -p f519bde0797371a9 /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-1.keychain +87ms
  electron-builder Executing security unlock-keychain -p f519bde0797371a9 /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-1.keychain +31ms
  electron-builder Executing security set-keychain-settings -t 3600 -u /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-1.keychain +62ms
  electron-builder Executing security import /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-2.p12 -k /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-1.keychain -T /usr/bin/codesign -T /usr/bin/productbuild -P  +67ms
1 identity imported.

Rebuilding native production dependencies for darwin:x64
Rebuilding native dependency spellchecker
  electron-builder Spawning /usr/local/Cellar/node/8.1.2/bin/node /usr/local/Cellar/yarn/0.24.6/libexec/bin/yarn.js run install -- +4s
yarn run v0.24.6
$ node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.1.2 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/distiller/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/MYAPP-electron/node_modules/spellchecker/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/.electron-gyp/iojs-1.6.11/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/distiller/.electron-gyp/iojs-1.6.11',
gyp info spawn args   '-Dnode_gyp_dir=/Users/distiller/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/distiller/.electron-gyp/iojs-1.6.11/<(target_arch)/iojs.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/distiller/MYAPP-electron/node_modules/spellchecker',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affentry.o
../vendor/hunspell/src/hunspell/affentry.cxx:544:47: warning: while loop has
      empty body [-Wempty-body]
                        while (p && *p != ']' && (p = nextchar(p)));
                                                                   ^
../vendor/hunspell/src/hunspell/affentry.cxx:544:47: note: put the semicolon on
      a separate line to silence this warning
1 warning generated.
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affixmgr.o
In file included from ../vendor/hunspell/src/hunspell/affixmgr.cxx:12:
../vendor/hunspell/src/hunspell/affentry.hxx:30:105: warning: implicit
      conversion of NULL constant to 'unsigned short' [-Wnull-conversion]
  ...char * word, int len, char in_compound, const FLAG needflag = NULL);
                                                                 ~ ^~~~
                                                                   0
../vendor/hunspell/src/hunspell/affentry.hxx:93:114: warning: implicit
      conversion of NULL constant to 'unsigned short' [-Wnull-conversion]
  ...int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL);
                                                                ~ ^~~~
                                                                  0
../vendor/hunspell/src/hunspell/affixmgr.cxx:3654:65: warning: 'strncmp' call
      operates on objects of type 'const char' while the size is based on a
      different type 'const char *' [-Wsizeof-pointer-memaccess]
  ...if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
                        ~~~~~~~         ^~~~~~~
../vendor/hunspell/src/hunspell/affixmgr.cxx:3654:65: note: did you mean to
      provide an explicit length?
  ...if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
                                        ^~~~~~~
3 warnings generated.
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/csutil.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/dictmgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/filemgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hashmgr.o
In file included from ../vendor/hunspell/src/hunspell/hashmgr.cxx:9:
../vendor/hunspell/src/hunspell/hashmgr.hxx:17:21: warning: private field
      'userword' is not used [-Wunused-private-field]
  int               userword;
                    ^
1 warning generated.
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunspell.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunzip.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/phonet.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/replist.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/suggestmgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/parsers/textparser.o
  LIBTOOL-STATIC Release/hunspell.a
  CXX(target) Release/obj.target/spellchecker/src/main.o
  CXX(target) Release/obj.target/spellchecker/src/spellchecker_hunspell.o
  CXX(target) Release/obj.target/spellchecker/src/spellchecker_mac.o
  CXX(target) Release/obj.target/spellchecker/src/transcoder_posix.o
  SOLINK_MODULE(target) Release/spellchecker.node
gyp info ok
✨  Done in 9.13s.
  electron-builder /usr/local/Cellar/node/8.1.2/bin/node (9254) exited with code 0 +9s
Rebuilding native dependency fsevents
  electron-builder Spawning /usr/local/Cellar/node/8.1.2/bin/node /usr/local/Cellar/yarn/0.24.6/libexec/bin/yarn.js run install -- +1ms
yarn run v0.24.6
$ node install
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.33
node-pre-gyp info using node@8.1.2 | darwin | x64
node-pre-gyp info build requesting source compile
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.1
gyp info using node@8.1.2 | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.1
gyp info using node@8.1.2 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/distiller/MYAPP-electron/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/MYAPP-electron/node_modules/fsevents/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/MYAPP-electron/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/distiller/.electron-gyp/iojs-1.6.11/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/distiller/.electron-gyp/iojs-1.6.11',
gyp info spawn args   '-Dnode_gyp_dir=/Users/distiller/MYAPP-electron/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=iojs.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/distiller/MYAPP-electron/node_modules/fsevents',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.1
gyp info using node@8.1.2 | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  COPY /Users/distiller/MYAPP-electron/node_modules/fsevents/lib/binding/Release/electron-v1.6-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp
gyp info ok
node-pre-gyp info ok
✨  Done in 3.47s.
  electron-builder /usr/local/Cellar/node/8.1.2/bin/node (11271) exited with code 0 +4s
Packaging for darwin x64 using electron 1.6.11 to dist/dev/mac
  electron-builder Spawning /Users/distiller/MYAPP-electron/node_modules/7zip-bin-mac/7za x -bd /Users/distiller/Library/Caches/electron/electron-v1.6.11-darwin-x64.zip -o/Users/distiller/MYAPP-electron/dist/dev/mac +617ms

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 46077999 bytes (44 MiB)

Extracting archive: /Users/distiller/Library/Caches/electron/electron-v1.6.11-darwin-x64.zip
--
Path = /Users/distiller/Library/Caches/electron/electron-v1.6.11-darwin-x64.zip
Type = zip
Physical Size = 46077999

Everything is Ok

Folders: 143
Files: 181
Size:       117423534
Compressed: 46077999
  electron-builder /Users/distiller/MYAPP-electron/node_modules/7zip-bin-mac/7za (11598) exited with code 0 +2s
  electron-builder Dev or extraneous dependencies in the /Users/distiller/MYAPP-electron: 7zip-bin, 7zip-bin-mac, abbrev, accessibility-developer-tools, ajv, ajv-keywords, ansi-align, @types/node, zip-stream, yauzl, yargs-parser, yargs, y18n, xmldom, xmlbuilder, xdg-basedir, write-file-atomic, wrappy, wrap-ansi, widest-line, yargs-parser/node_modules/camelcase, yargs/node_modules/camelcase, wide-align, which-module, walkdir, uuid-1345, utf8-byte-length, url-parse-lax, update-notifier, unzip-response, universalify, unique-string, uid-number, typedarray, truncate-utf8-bytes, timed-out, throttleit, thenify-all, thenify, term-size, tempfile, tar-stream, tar-pack, tar, symbol-observable, term-size/node_modules/execa, term-size/node_modules/npm-run-path, sumchecker, tempfile/node_modules/uuid, strip-json-comments, tar-stream/node_modules/bl, strip-eof, string.prototype.codepointat, string-width, stat-mode, sprintf-js, spawn-rx, source-map-support, source-map, slide, set-blocking, semver-diff, sanitize-filename, rxjs, restore-cursor, rimraf, require-main-filename, require-directory, registry-url, registry-auth-token, rc, prepend-http, plist, pend, path-key, parse-color, package-json, p-locate, p-limit, p-finally, osenv, os-tmpdir, os-locale, os-homedir, ora, onetime, once, nugget, npmlog, npm-run-path, nopt, node-pre-gyp, node-gyp, node-forge, nugget/node_modules/single-line-log, node-emoji, npm-run-path/node_modules/path-key, mz, node-pre-gyp/node_modules/nopt, ms, mimic-fn, mem, macaddress, lowercase-keys, log-symbols, lodash.assign, locate-path, lcid, lazystream, latest-version, klaw, json5, json-schema-traverse, js-yaml, isbinaryfile, is-stream, is-retry-allowed, is-redirect, is-npm, is-fullwidth-code-point, is-ci, invert-kv, ini, inflight, imurmurhash, import-lazy, humanize-plus, home-path, highlight.js, has-unicode, got, glob, get-stream, got/node_modules/get-stream, get-caller-file, gauge, fstream-ignore, fstream, fs.realpath, fs-promise, fs-extra-p, fs-extra, fs-promise/node_modules/fs-extra, fs-extra/node_modules/jsonfile, fd-slicer, fcopy-pre-bundled, fast-deep-equal, extract-zip, execa, esprima, extract-zip/node_modules/debug, extract-zip/node_modules/minimist, extract-zip/node_modules/mkdirp, es6-promise, end-of-stream, execa/node_modules/cross-spawn, electron-rebuild, electron-publish, electron-osx-sign, electron-download-tf, electron-download, electron-publish/node_modules/mime, electron-download-tf/node_modules/env-paths, electron-download-tf/node_modules/sumchecker, electron-download/node_modules/fs-extra, electron-builder-util, electron-download/node_modules/path-exists, electron-builder-squirrel-windows, electron-builder-http, electron-builder-core, electron-builder, electron, electron-builder-squirrel-windows/node_modules/debug, electron-builder-squirrel-windows/node_modules/electron-builder-http, electron-builder-squirrel-windows/node_modules/electron-builder-util, electron-builder-squirrel-windows/node_modules/ms, electron-builder/node_modules/find-up, electron-builder/node_modules/is-fullwidth-code-point, electron-builder/node_modules/load-json-file, electron-builder/node_modules/os-locale, electron-builder/node_modules/path-type, electron-builder/node_modules/read-pkg, electron-builder/node_modules/read-pkg-up, electron-builder/node_modules/string-width, duplexer3, devtron, delegates, deep-extend, electron-builder/node_modules/yargs-parser, electron-builder/node_modules/yargs, electron-builder/node_modules/which-module, electron-builder/node_modules/strip-bom, debug, cuint, crypto-random-string, cross-spawn-async, create-error-class, crc32-stream, crc, console-control-strings, configstore, concat-stream, compress-commons, compare-version, colors, configstore/node_modules/dot-prop, color-convert, code-point-at, concat-stream/node_modules/readable-stream, cliui, cli-spinners, cli-cursor, cli-boxes, ci-info, chromium-pickle-js, capture-stack-trace, camelcase, buffer-crc32, boxen, bluebird-lst, bluebird, block-stream, base64-js, boxen/node_modules/is-fullwidth-code-point, boxen/node_modules/string-width, asar-integrity, argparse, are-we-there-yet, archiver-utils, archiver, aproba, any-promise, archiver/node_modules/async +4s
  electron-builder node_modules/fsevents is not packed into asar archive - contains executable code +12s
  electron-builder dist/production/mac/MYAPP.app/Contents/Resources/app.asar.unpacked/node_modules/fsevents is not packed into asar archive - contains executable code +193ms
  electron-builder getPublishConfigsForUpdateInfo: no publishConfigs, detect using repository info +4s
  electron-builder getPublishConfigsForUpdateInfo: {
  electron-builder   "type": "github",
  electron-builder   "protocols": [
  electron-builder     "git",
  electron-builder     "http",
  electron-builder     "git+ssh",
  electron-builder     "git+https",
  electron-builder     "ssh",
  electron-builder     "https"
  electron-builder   ],
  electron-builder   "domain": "github.com",
  electron-builder   "treepath": "tree",
  electron-builder   "filetemplate": "https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}",
  electron-builder   "bugstemplate": "https://{domain}/{user}/{project}/issues",
  electron-builder   "gittemplate": "git://{auth@}{domain}/{user}/{project}.git{#committish}",
  electron-builder   "tarballtemplate": "https://{domain}/{user}/{project}/archive/{committish}.tar.gz",
  electron-builder   "sshtemplate": "git@{domain}:{user}/{project}.git{#committish}",
  electron-builder   "sshurltemplate": "git+ssh://git@{domain}/{user}/{project}.git{#committish}",
  electron-builder   "browsetemplate": "https://{domain}/{user}/{project}{/tree/committish}",
  electron-builder   "docstemplate": "https://{domain}/{user}/{project}{/tree/committish}#readme",
  electron-builder   "httpstemplate": "git+https://{auth@}{domain}/{user}/{project}.git{#committish}",
  electron-builder   "shortcuttemplate": "{type}:{user}/{project}{#committish}",
  electron-builder   "pathtemplate": "{user}/{project}{#committish}",
  electron-builder   "pathmatch": {},
  electron-builder   "protocols_re": {},
  electron-builder   "user": "MYAPP",
  electron-builder   "auth": null,
  electron-builder   "project": "MYAPP-electron",
  electron-builder   "committish": null,
  electron-builder   "default": "https",
  electron-builder   "opts": {}
  electron-builder } +6ms
  electron-builder Owner or project is not specified explicitly for github, call getInfo: owner: undefined, project: undefined +4ms
  electron-builder getPublishConfigsForUpdateInfo: resolve to publish config {
  electron-builder   "owner": "MYAPP",
  electron-builder   "repo": "MYAPP-electron",
  electron-builder   "provider": "github"
  electron-builder } +1ms
  electron-builder Executing security find-identity -v /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-1.keychain +40ms
  electron-builder Executing security find-identity -v -p codesigning /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-1.keychain +11ms
  1) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX "Developer ID Application: My Company"
     1 valid identities found

  1) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX "Developer ID Application: My Company"
     1 valid identities found

Signing app (identity: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX Developer ID Application: My Company)
Error: Command failed: codesign --sign XXXXXXXXXXXXXXXXXXXXXXXXXXXXX --force --keychain /var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/electron-builder-RmFYrW/0-1.keychain /Users/distiller/MYAPP-electron/dist/dev/mac/MYAPP.app/Contents/Resources/app.asar.unpacked/dist/production/mac/MYAPP.app
/Users/distiller/MYAPP-electron/dist/dev/mac/MYAPP.app/Contents/Resources/app.asar.unpacked/dist/production/mac/MYAPP.app: bundle format unrecognized, invalid, or unsuitable

    at ChildProcess.exithandler (child_process.js:270:12)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:897:16)
    at Socket.stream.socket.on (internal/child_process.js:340:11)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at Pipe._handle.close [as _onclose] (net.js:548:12)
From previous event:
    at MacPackager.sign (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/macPackager.js:293:11)
    at /Users/distiller/MYAPP-electron/node_modules/electron-builder/src/macPackager.ts:92:26
From previous event:
    at /Users/distiller/MYAPP-electron/node_modules/electron-builder/src/macPackager.ts:92:10
    at Generator.next (<anonymous>)
From previous event:
    at MacPackager.pack (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/macPackager.js:190:11)
    at /Users/distiller/MYAPP-electron/node_modules/electron-builder/src/packager.ts:244:24
From previous event:
    at Packager.doBuild (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/packager.js:372:11)
    at /Users/distiller/MYAPP-electron/node_modules/electron-builder/src/packager.ts:164:52
    at Generator.next (<anonymous>)
    at runCallback (timers.js:800:20)
    at tryOnImmediate (timers.js:762:5)
    at processImmediate [as _immediateCallback] (timers.js:733:5)
From previous event:
    at Packager.build (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/packager.js:273:11)
    at /Users/distiller/MYAPP-electron/node_modules/electron-builder/src/builder.ts:235:40
    at Generator.next (<anonymous>)
    at build (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/builder.js:69:21)
    at Object.args [as handler] (/Users/distiller/MYAPP-electron/node_modules/electron-builder/src/cli/cli.ts:42:4)
    at Object.self.runCommand (/Users/distiller/MYAPP-electron/node_modules/electron-builder/node_modules/yargs/lib/command.js:233:22)
    at Object.Yargs.self._parseArgs (/Users/distiller/MYAPP-electron/node_modules/electron-builder/node_modules/yargs/yargs.js:1018:24)
    at Object.get [as argv] (/Users/distiller/MYAPP-electron/node_modules/electron-builder/node_modules/yargs/yargs.js:927:19)
    at Object.<anonymous> (/Users/distiller/MYAPP-electron/node_modules/electron-builder/src/cli/cli.ts:37:15)
From previous event:
    at build (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/builder.js:69:21)
    at Object.args [as handler] (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/cli/cli.js:121:9)
    at Object.self.runCommand (/Users/distiller/MYAPP-electron/node_modules/electron-builder/node_modules/yargs/lib/command.js:233:22)
    at Object.Yargs.self._parseArgs (/Users/distiller/MYAPP-electron/node_modules/electron-builder/node_modules/yargs/yargs.js:1018:24)
    at Object.get [as argv] (/Users/distiller/MYAPP-electron/node_modules/electron-builder/node_modules/yargs/yargs.js:927:19)
    at Object.<anonymous> (/Users/distiller/MYAPP-electron/node_modules/electron-builder/out/cli/cli.js:117:314)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3
error Command failed with exit code 255.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run dist:osx returned exit code 1

Action failed: yarn run dist:osx

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Jun 26, 2017

Yes — you can say — are you stupid, why you cannot automatically detect not configured out directories from other/old/past configurations and ignore it. Will be accepted, but for now was decided to keep things simple and avoid such magic.

1reaction
develarcommented, Jun 20, 2017

Obviously you must add !dist to files. Because you set output to dist/production, not dist, but dist/production is ignored by default.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code sign error : bundle format unrecognized, invalid, or ...
I have had this issue in two different projects, I done alot of the suggested stuff, cleared the DerivedData folder, re-installed pods etc....
Read more >
bundle format unrecognized, invalid, or unsuitable · Issue #5742
After adding PromiseKit to the podfile, I get a 'Command /bin/sh failed with exit code -1' saying 'PromiseKit. framework: bundle format ...
Read more >
Bundle format unrecognized, invalid, or unsuitable. Command ...
When I try to run my app after downloading the new framework, I always get this error message, for the build time bundle...
Read more >
bundle format unrecognized, invalid, or unsuitable - Mobile
If I add the NewRelic framework into my iOS project. I get the following code signing error when I go to build my...
Read more >
codesign error in OS X 10.9 when subcomponent not signed
During repackage a custom release in OS X 10.9 and sign the Firefox App, /usr/bin/codesign --deep -fs <signature> Firefox.app codesign reports error: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found