electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.64k stars 1.74k forks source link

Uncaught Error: Cannot find module 'combined-stream' executing packaged app #1926

Closed ander7agar closed 7 years ago

ander7agar commented 7 years ago

I am trying to develop an application with Electron, but when I run the compiled file it throws errors indicating that some modules are not found.

Uncaught Error: Cannot find module 'combined-stream'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/home/user/WebstormProjects/myApp/releases/myApp-linux-x64/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/user/WebstormProjects/myApp/releases/myApp-linux-x64/resources/app.asar/node_modules/form-data/lib/form_data.js:1:177)
at Object.<anonymous> (/home/user/WebstormProjects/myApp/releases/myApp-linux-x64/resources/app.asar/node_modules/form-data/lib/form_data.js:446:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)

module.js:470 Uncaught Error: Cannot find module 'binary-search'
at Module._resolveFilename (module.js:470)
at Function.Module._resolveFilename (/home/user/WebstormProjects/myApp/releases/myApp-linux-x64/resour…:35)
at Function.Module._load (module.js:418)
at Module.require (module.js:498)
at require (internal/module.js:20)
at Object.<anonymous> (/home/user/WebstormProjects/myApp/releases/myApp-linux-x64/resour…:1)
at Object.<anonymous> (/home/user/WebstormProjects/myApp/releases/myApp-linux-x64/resour…:473)
at Module._compile (module.js:571)
at Object.Module._extensions..js (module.js:580)
at Module.load (module.js:488)

Running electron. the code works correctly. Does not throw any such error.

This is the package.json:

{
   "name": "myApp",
   "version": "1.0.0",
   "description": "^",
   "main": "main.js",
   "license": "ISC",
   "dependencies": {
     "bitcoin": "^3.0.1",
     "bitcoind-rpc": "^0.7.0",
     "bitcoinjs-lib": "^3.1.0",
     "drag-drop": "^2.13.2",
     "electron": "^1.4.7",
     "electron-dl": "^1.9.0",
     "electron-rebuild": "^1.5.7",
     "execsql": "^0.0.3",
     "handbrake-js": "^2.1.0",
     "imagemin": "^5.3.1",
     "imagemin-jpegtran": "^5.0.2",
     "imagemin-pngquant": "^5.0.1",
     "jssocials": "^1.5.0",
     "lzma": "^2.3.2",
     "node-json-rpc": "^0.0.1",
     "webtorrent": "^0.98.18"
   },
   "scripts": {
     "start": "electron .",
     "postinstall": "install-app-deps"
   },
   "devDependencies": {
     "electron-builder": "^17.10.0",
     "electron-packager": "^8.7.2"
   }
}

Thanks in advance!!

develar commented 7 years ago

Remove electron-rebuild dependency. Not required and in any case must be not in the production deps.

develar commented 7 years ago

If still doesn't work, remove node_modules and install deps using yarn — does it work if unpacked (electron)?

ander7agar commented 7 years ago

Installing dependencies with yarn I get the same result. I have updated electron to version 1.7.5 but it has not changed anything.

Running electron . works perfectly, but if I compile and execute the compiled file throws me those errors.

develar commented 7 years ago

Have you removed electron-rebuild?

ander7agar commented 7 years ago

Yes, I have deleted electron-rebuild, and the node_modules folder.

The package.json file looks like this:

{
  "name": "myApp",
  "version": "1.0.0",
  "description": "^",
  "main": "main.js",
  "license": "ISC",
  "dependencies": {
    "bitcoin": "^3.0.1",
    "bitcoind-rpc": "^0.7.0",
    "bitcoinjs-lib": "^3.1.0",
    "drag-drop": "^2.13.2",
    "electron": "^1.4.7",
    "electron-dl": "^1.9.0",
    "execsql": "^0.0.3",
    "handbrake-js": "^2.1.0",
    "imagemin": "^5.3.1",
    "imagemin-jpegtran": "^5.0.2",
    "imagemin-pngquant": "^5.0.1",
    "jssocials": "^1.5.0",
    "lzma": "^2.3.2",
    "node-json-rpc": "^0.0.1",
    "webtorrent": "^0.98.18"
  },
  "scripts": {
    "start": "electron .",
    "postinstall": "install-app-deps"
  },
  "devDependencies": {
    "electron-builder": "^17.10.0",
    "electron-packager": "^8.7.2"
  }
}
develar commented 7 years ago

Please npm ls --production

ander7agar commented 7 years ago

npm ls --production shows this:

myApp@1.0.0 /home/user/WebstormProjects/myApp
├── bitcoin@3.0.1
├── bitcoind-rpc@0.7.0
├─┬ bitcoinjs-lib@3.1.1
│ ├── bigi@1.4.2
│ ├─┬ bip66@1.1.5
│ │ └── safe-buffer@5.1.1 deduped
│ ├── bitcoin-ops@1.3.0
│ ├─┬ bs58check@2.0.2
│ │ ├─┬ bs58@4.0.1
│ │ │ └─┬ base-x@3.0.2
│ │ │   └── safe-buffer@5.1.1 deduped
│ │ └── create-hash@1.1.3 deduped
│ ├─┬ create-hash@1.1.3
│ │ ├─┬ cipher-base@1.0.4
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ └── safe-buffer@5.1.1 deduped
│ │ ├── inherits@2.0.3 deduped
│ │ ├─┬ ripemd160@2.0.1
│ │ │ ├─┬ hash-base@2.0.2
│ │ │ │ └── inherits@2.0.3 deduped
│ │ │ └── inherits@2.0.3 deduped
│ │ └─┬ sha.js@2.4.8
│ │   └── inherits@2.0.3 deduped
│ ├─┬ create-hmac@1.1.6
│ │ ├── cipher-base@1.0.4 deduped
│ │ ├── create-hash@1.1.3 deduped
│ │ ├── inherits@2.0.3 deduped
│ │ ├── ripemd160@2.0.1 deduped
│ │ ├── safe-buffer@5.1.1 deduped
│ │ └── sha.js@2.4.8 deduped
│ ├─┬ ecurve@1.0.5
│ │ └── bigi@1.4.2 deduped
│ ├── merkle-lib@2.0.10
│ ├─┬ pushdata-bitcoin@1.0.1
│ │ └── bitcoin-ops@1.3.0 deduped
│ ├─┬ randombytes@2.0.5
│ │ └── safe-buffer@5.1.1 deduped
│ ├── safe-buffer@5.1.1
│ ├─┬ typeforce@1.11.3
│ │ └── inherits@2.0.3 deduped
│ ├── varuint-bitcoin@1.0.4
│ └─┬ wif@2.0.6
│   └── bs58check@2.0.2 deduped
├─┬ drag-drop@2.13.2
│ ├── blob-to-buffer@1.2.6
│ ├── flatten@1.0.2
│ └── run-parallel@1.1.6
├─┬ electron@1.7.6
│ ├── @types/node@7.0.39
│ ├─┬ electron-download@3.3.0
│ │ ├── debug@2.6.8 deduped
│ │ ├─┬ fs-extra@0.30.0
│ │ │ ├── graceful-fs@4.1.11
│ │ │ ├─┬ jsonfile@2.4.0
│ │ │ │ └── graceful-fs@4.1.11 deduped
│ │ │ ├─┬ klaw@1.3.1
│ │ │ │ └── graceful-fs@4.1.11 deduped
│ │ │ ├── path-is-absolute@1.0.1
│ │ │ └── rimraf@2.6.1 deduped
│ │ ├── home-path@1.0.5
│ │ ├── minimist@1.2.0
│ │ ├─┬ nugget@2.0.1
│ │ │ ├── debug@2.6.8 deduped
│ │ │ ├── minimist@1.2.0 deduped
│ │ │ ├─┬ pretty-bytes@1.0.4
│ │ │ │ ├── get-stdin@4.0.1
│ │ │ │ └─┬ meow@3.7.0
│ │ │ │   ├─┬ camelcase-keys@2.1.0
│ │ │ │   │ ├── camelcase@2.1.1
│ │ │ │   │ └── map-obj@1.0.1 deduped
│ │ │ │   ├── decamelize@1.2.0
│ │ │ │   ├─┬ loud-rejection@1.6.0
│ │ │ │   │ ├─┬ currently-unhandled@0.4.1
│ │ │ │   │ │ └── array-find-index@1.0.2
│ │ │ │   │ └── signal-exit@3.0.2 deduped
│ │ │ │   ├── map-obj@1.0.1
│ │ │ │   ├── minimist@1.2.0 deduped
│ │ │ │   ├─┬ normalize-package-data@2.4.0
│ │ │ │   │ ├── hosted-git-info@2.5.0
│ │ │ │   │ ├─┬ is-builtin-module@1.0.0
│ │ │ │   │ │ └── builtin-modules@1.1.1
│ │ │ │   │ ├── semver@5.4.1 deduped
│ │ │ │   │ └─┬ validate-npm-package-license@3.0.1
│ │ │ │   │   ├─┬ spdx-correct@1.0.2
│ │ │ │   │   │ └── spdx-license-ids@1.2.2
│ │ │ │   │   └── spdx-expression-parse@1.0.4
│ │ │ │   ├── object-assign@4.1.1 deduped
│ │ │ │   ├─┬ read-pkg-up@1.0.1
│ │ │ │   │ ├─┬ find-up@1.1.2
│ │ │ │   │ │ ├─┬ path-exists@2.1.0
│ │ │ │   │ │ │ └── pinkie-promise@2.0.1 deduped
│ │ │ │   │ │ └── pinkie-promise@2.0.1 deduped
│ │ │ │   │ └─┬ read-pkg@1.1.0
│ │ │ │   │   ├─┬ load-json-file@1.1.0
│ │ │ │   │   │ ├── graceful-fs@4.1.11 deduped
│ │ │ │   │   │ ├── parse-json@2.2.0 deduped
│ │ │ │   │   │ ├── pify@2.3.0 deduped
│ │ │ │   │   │ ├── pinkie-promise@2.0.1 deduped
│ │ │ │   │   │ └── strip-bom@2.0.0 deduped
│ │ │ │   │   ├── normalize-package-data@2.4.0 deduped
│ │ │ │   │   └─┬ path-type@1.1.0
│ │ │ │   │     ├── graceful-fs@4.1.11 deduped
│ │ │ │   │     ├── pify@2.3.0 deduped
│ │ │ │   │     └── pinkie-promise@2.0.1 deduped
│ │ │ │   ├─┬ redent@1.0.0
│ │ │ │   │ ├── indent-string@2.1.0 deduped
│ │ │ │   │ └─┬ strip-indent@1.0.1
│ │ │ │   │   └── get-stdin@4.0.1 deduped
│ │ │ │   └── trim-newlines@1.0.0
│ │ │ ├─┬ progress-stream@1.2.0
│ │ │ │ ├── speedometer@0.1.4
│ │ │ │ └─┬ through2@0.2.3
│ │ │ │   ├─┬ readable-stream@1.1.14
│ │ │ │   │ ├── core-util-is@1.0.2 deduped
│ │ │ │   │ ├── inherits@2.0.3 deduped
│ │ │ │   │ ├── isarray@0.0.1 deduped
│ │ │ │   │ └── string_decoder@0.10.31 deduped
│ │ │ │   └─┬ xtend@2.1.2
│ │ │ │     └── object-keys@0.4.0
│ │ │ ├── request@2.81.0 deduped
│ │ │ ├─┬ single-line-log@1.1.2
│ │ │ │ └─┬ string-width@1.0.2
│ │ │ │   ├── code-point-at@1.1.0
│ │ │ │   ├─┬ is-fullwidth-code-point@1.0.0
│ │ │ │   │ └── number-is-nan@1.0.1
│ │ │ │   └─┬ strip-ansi@3.0.1
│ │ │ │     └── ansi-regex@2.1.1
│ │ │ └── throttleit@0.0.2
│ │ ├─┬ path-exists@2.1.0
│ │ │ └── pinkie-promise@2.0.1 deduped
│ │ ├─┬ rc@1.2.1
│ │ │ ├── deep-extend@0.4.2
│ │ │ ├── ini@1.3.4
│ │ │ ├── minimist@1.2.0 deduped
│ │ │ └── strip-json-comments@2.0.1
│ │ ├── semver@5.4.1
│ │ └─┬ sumchecker@1.3.1
│ │   ├── debug@2.6.8 deduped
│ │   └── es6-promise@4.1.1
│ └─┬ extract-zip@1.6.5
│   ├─┬ concat-stream@1.6.0
│   │ ├── inherits@2.0.3 deduped
│   │ ├── readable-stream@2.3.3 deduped
│   │ └── typedarray@0.0.6
│   ├─┬ debug@2.2.0
│   │ └── ms@0.7.1
│   ├─┬ mkdirp@0.5.0
│   │ └── minimist@0.0.8
│   └─┬ yauzl@2.4.1
│     └─┬ fd-slicer@1.0.1
│       └── pend@1.2.0
├─┬ electron-dl@1.10.0
│ ├─┬ ext-name@5.0.0
│ │ ├─┬ ext-list@2.2.2
│ │ │ └── mime-db@1.29.0
│ │ └─┬ sort-keys-length@1.0.1
│ │   └─┬ sort-keys@1.1.2
│ │     └── is-plain-obj@1.1.0
│ ├── pupa@1.0.0
│ └─┬ unused-filename@1.0.0
│   ├── modify-filename@1.1.0
│   └── path-exists@3.0.0
├─┬ execsql@0.0.3
│ ├─┬ mysql@2.0.0-rc2
│ │ ├── bignumber.js@1.0.1
│ │ └── require-all@0.0.3
│ ├─┬ optimist@0.6.0
│ │ ├── minimist@0.0.10
│ │ └── wordwrap@0.0.3
│ └── underscore@1.5.2
├─┬ handbrake-js@2.2.2
│ ├─┬ ansi-escape-sequences@3.0.0
│ │ └─┬ array-back@1.0.4
│ │   └── typical@2.6.1 deduped
│ ├─┬ command-line-args@3.0.5
│ │ ├── array-back@1.0.4 deduped
│ │ ├─┬ feature-detect-es6@1.3.1
│ │ │ └── array-back@1.0.4 deduped
│ │ ├─┬ find-replace@1.0.3
│ │ │ ├── array-back@1.0.4 deduped
│ │ │ └─┬ test-value@2.1.0
│ │ │   ├── array-back@1.0.4 deduped
│ │ │   └── typical@2.6.1 deduped
│ │ └── typical@2.6.1
│ ├── object-to-spawn-args@1.1.1
│ ├─┬ request@2.81.0
│ │ ├── aws-sign2@0.6.0
│ │ ├── aws4@1.6.0
│ │ ├── caseless@0.12.0
│ │ ├─┬ combined-stream@1.0.5
│ │ │ └── delayed-stream@1.0.0
│ │ ├── extend@3.0.1
│ │ ├── forever-agent@0.6.1
│ │ ├─┬ form-data@2.1.4
│ │ │ ├── asynckit@0.4.0
│ │ │ ├── combined-stream@1.0.5 deduped
│ │ │ └── mime-types@2.1.16 deduped
│ │ ├─┬ har-validator@4.2.1
│ │ │ ├─┬ ajv@4.11.8
│ │ │ │ ├── co@4.6.0
│ │ │ │ └─┬ json-stable-stringify@1.0.1
│ │ │ │   └── jsonify@0.0.0
│ │ │ └── har-schema@1.0.5
│ │ ├─┬ hawk@3.1.3
│ │ │ ├─┬ boom@2.10.1
│ │ │ │ └── hoek@2.16.3 deduped
│ │ │ ├─┬ cryptiles@2.0.5
│ │ │ │ └── boom@2.10.1 deduped
│ │ │ ├── hoek@2.16.3
│ │ │ └─┬ sntp@1.0.9
│ │ │   └── hoek@2.16.3 deduped
│ │ ├─┬ http-signature@1.1.1
│ │ │ ├── assert-plus@0.2.0
│ │ │ ├─┬ jsprim@1.4.1
│ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ ├── extsprintf@1.3.0
│ │ │ │ ├── json-schema@0.2.3
│ │ │ │ └─┬ verror@1.10.0
│ │ │ │   ├── assert-plus@1.0.0 deduped
│ │ │ │   ├── core-util-is@1.0.2 deduped
│ │ │ │   └── extsprintf@1.3.0 deduped
│ │ │ └─┬ sshpk@1.13.1
│ │ │   ├── asn1@0.2.3
│ │ │   ├── assert-plus@1.0.0 deduped
│ │ │   ├─┬ bcrypt-pbkdf@1.0.1
│ │ │   │ └── tweetnacl@0.14.5 deduped
│ │ │   ├─┬ dashdash@1.14.1
│ │ │   │ └── assert-plus@1.0.0 deduped
│ │ │   ├─┬ ecc-jsbn@0.1.1
│ │ │   │ └── jsbn@0.1.1 deduped
│ │ │   ├─┬ getpass@0.1.7
│ │ │   │ └── assert-plus@1.0.0 deduped
│ │ │   ├── jsbn@0.1.1
│ │ │   └── tweetnacl@0.14.5
│ │ ├── is-typedarray@1.0.0
│ │ ├── isstream@0.1.2
│ │ ├── json-stringify-safe@5.0.1
│ │ ├─┬ mime-types@2.1.16
│ │ │ └── mime-db@1.29.0 deduped
│ │ ├── oauth-sign@0.8.2
│ │ ├── performance-now@0.2.0
│ │ ├── qs@6.4.0
│ │ ├── safe-buffer@5.1.1 deduped
│ │ ├── stringstream@0.0.5
│ │ ├─┬ tough-cookie@2.3.2
│ │ │ └── punycode@1.4.1
│ │ ├─┬ tunnel-agent@0.6.0
│ │ │ └── safe-buffer@5.1.1 deduped
│ │ └── uuid@3.1.0
│ ├─┬ rimraf@2.6.1
│ │ └─┬ glob@7.1.2
│ │   ├── fs.realpath@1.0.0
│ │   ├─┬ inflight@1.0.6
│ │   │ ├── once@1.4.0 deduped
│ │   │ └── wrappy@1.0.2 deduped
│ │   ├── inherits@2.0.3 deduped
│ │   ├─┬ minimatch@3.0.4
│ │   │ └─┬ brace-expansion@1.1.8
│ │   │   ├── balanced-match@1.0.0
│ │   │   └── concat-map@0.0.1
│ │   ├── once@1.4.0 deduped
│ │   └── path-is-absolute@1.0.1 deduped
│ ├─┬ unzip@0.1.11
│ │ ├─┬ binary@0.3.0
│ │ │ ├── buffers@0.1.1
│ │ │ └─┬ chainsaw@0.1.0
│ │ │   └── traverse@0.3.9
│ │ ├─┬ fstream@0.1.31
│ │ │ ├─┬ graceful-fs@3.0.11
│ │ │ │ └── natives@1.1.0
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── mkdirp@0.5.1 deduped
│ │ │ └── rimraf@2.6.1 deduped
│ │ ├─┬ match-stream@0.0.2
│ │ │ ├── buffers@0.1.1 deduped
│ │ │ └─┬ readable-stream@1.0.34
│ │ │   ├── core-util-is@1.0.2 deduped
│ │ │   ├── inherits@2.0.3 deduped
│ │ │   ├── isarray@0.0.1 deduped
│ │ │   └── string_decoder@0.10.31 deduped
│ │ ├─┬ pullstream@0.4.1
│ │ │ ├── over@0.0.5
│ │ │ ├─┬ readable-stream@1.0.34
│ │ │ │ ├── core-util-is@1.0.2 deduped
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ ├── isarray@0.0.1 deduped
│ │ │ │ └── string_decoder@0.10.31 deduped
│ │ │ ├── setimmediate@1.0.5 deduped
│ │ │ └─┬ slice-stream@1.0.0
│ │ │   └─┬ readable-stream@1.0.34
│ │ │     ├── core-util-is@1.0.2 deduped
│ │ │     ├── inherits@2.0.3 deduped
│ │ │     ├── isarray@0.0.1 deduped
│ │ │     └── string_decoder@0.10.31 deduped
│ │ ├─┬ readable-stream@1.0.34
│ │ │ ├── core-util-is@1.0.2 deduped
│ │ │ ├── inherits@2.0.3 deduped
│ │ │ ├── isarray@0.0.1
│ │ │ └── string_decoder@0.10.31
│ │ └── setimmediate@1.0.5
│ └─┬ usage-stats@0.8.6
│   ├── array-back@1.0.4 deduped
│   ├─┬ cli-commands@0.1.0
│   │ ├── ansi-escape-sequences@3.0.0 deduped
│   │ ├── command-line-args@3.0.5 deduped
│   │ ├─┬ command-line-commands@1.0.4
│   │ │ ├── array-back@1.0.4 deduped
│   │ │ └── feature-detect-es6@1.3.1 deduped
│   │ └─┬ command-line-usage@3.0.8
│   │   ├── ansi-escape-sequences@3.0.0 deduped
│   │   ├── array-back@1.0.4 deduped
│   │   ├── feature-detect-es6@1.3.1 deduped
│   │   ├─┬ table-layout@0.3.0
│   │   │ ├── array-back@1.0.4 deduped
│   │   │ ├── core-js@2.5.0 deduped
│   │   │ ├── deep-extend@0.4.2 deduped
│   │   │ ├── feature-detect-es6@1.3.1 deduped
│   │   │ ├── typical@2.6.1 deduped
│   │   │ └─┬ wordwrapjs@2.0.0
│   │   │   ├── array-back@1.0.4 deduped
│   │   │   ├── feature-detect-es6@1.3.1 deduped
│   │   │   ├── reduce-flatten@1.0.1
│   │   │   └── typical@2.6.1 deduped
│   │   └── typical@2.6.1 deduped
│   ├── core-js@2.5.0
│   ├── feature-detect-es6@1.3.1 deduped
│   ├── home-path@1.0.5 deduped
│   ├── mkdirp2@1.0.3
│   ├─┬ req-then@0.5.1
│   │ ├── array-back@1.0.4 deduped
│   │ ├── defer-promise@1.0.1
│   │ ├── feature-detect-es6@1.3.1 deduped
│   │ ├── lodash.pick@4.4.0
│   │ └── typical@2.6.1 deduped
│   ├── typical@2.6.1 deduped
│   └── uuid@3.1.0 deduped
├─┬ imagemin@5.3.1
│ ├── file-type@4.4.0
│ ├─┬ globby@6.1.0
│ │ ├─┬ array-union@1.0.2
│ │ │ └── array-uniq@1.0.3
│ │ ├── glob@7.1.2 deduped
│ │ ├── object-assign@4.1.1
│ │ ├── pify@2.3.0 deduped
│ │ └─┬ pinkie-promise@2.0.1
│ │   └── pinkie@2.0.4
│ ├─┬ make-dir@1.0.0
│ │ └── pify@2.3.0 deduped
│ ├── p-pipe@1.2.0
│ ├── pify@2.3.0
│ └── replace-ext@1.0.0
├─┬ imagemin-jpegtran@5.0.2
│ ├─┬ exec-buffer@3.2.0
│ │ ├─┬ execa@0.7.0
│ │ │ ├─┬ cross-spawn@5.1.0
│ │ │ │ ├─┬ lru-cache@4.1.1
│ │ │ │ │ ├── pseudomap@1.0.2
│ │ │ │ │ └── yallist@2.1.2
│ │ │ │ ├─┬ shebang-command@1.2.0
│ │ │ │ │ └── shebang-regex@1.0.0
│ │ │ │ └─┬ which@1.3.0
│ │ │ │   └── isexe@2.0.0
│ │ │ ├── get-stream@3.0.0
│ │ │ ├── is-stream@1.1.0
│ │ │ ├─┬ npm-run-path@2.0.2
│ │ │ │ └── path-key@2.0.1
│ │ │ ├── p-finally@1.0.0 deduped
│ │ │ ├── signal-exit@3.0.2
│ │ │ └── strip-eof@1.0.0
│ │ ├── p-finally@1.0.0
│ │ ├── pify@3.0.0
│ │ ├── rimraf@2.6.1 deduped
│ │ └─┬ tempfile@2.0.0
│ │   ├── temp-dir@1.0.0
│ │   └── uuid@3.1.0 deduped
│ ├── is-jpg@1.0.0
│ └─┬ jpegtran-bin@3.2.0
│   ├─┬ bin-build@2.2.0
│   │ ├─┬ archive-type@3.2.0
│   │ │ └── file-type@3.9.0
│   │ ├─┬ decompress@3.0.0
│   │ │ ├─┬ buffer-to-vinyl@1.1.0
│   │ │ │ ├── file-type@3.9.0 deduped
│   │ │ │ ├── readable-stream@2.3.3 deduped
│   │ │ │ ├── uuid@2.0.3
│   │ │ │ └── vinyl@1.2.0 deduped
│   │ │ ├── concat-stream@1.6.0 deduped
│   │ │ ├─┬ decompress-tar@3.1.0
│   │ │ │ ├── is-tar@1.0.0
│   │ │ │ ├── object-assign@2.1.1
│   │ │ │ ├─┬ strip-dirs@1.1.1
│   │ │ │ │ ├── chalk@1.1.3 deduped
│   │ │ │ │ ├── get-stdin@4.0.1 deduped
│   │ │ │ │ ├─┬ is-absolute@0.1.7
│   │ │ │ │ │ └── is-relative@0.1.3
│   │ │ │ │ ├── is-natural-number@2.1.1
│   │ │ │ │ ├── minimist@1.2.0 deduped
│   │ │ │ │ └─┬ sum-up@1.0.3
│   │ │ │ │   └── chalk@1.1.3 deduped
│   │ │ │ ├─┬ tar-stream@1.5.4
│   │ │ │ │ ├─┬ bl@1.2.1
│   │ │ │ │ │ └── readable-stream@2.3.3 deduped
│   │ │ │ │ ├── end-of-stream@1.4.0 deduped
│   │ │ │ │ ├── readable-stream@2.3.3 deduped
│   │ │ │ │ └── xtend@4.0.1 deduped
│   │ │ │ ├─┬ through2@0.6.5
│   │ │ │ │ ├─┬ readable-stream@1.0.34
│   │ │ │ │ │ ├── core-util-is@1.0.2 deduped
│   │ │ │ │ │ ├── inherits@2.0.3 deduped
│   │ │ │ │ │ ├── isarray@0.0.1 deduped
│   │ │ │ │ │ └── string_decoder@0.10.31 deduped
│   │ │ │ │ └── xtend@4.0.1 deduped
│   │ │ │ └─┬ vinyl@0.4.6
│   │ │ │   ├── clone@0.2.0
│   │ │ │   └── clone-stats@0.0.1 deduped
│   │ │ ├─┬ decompress-tarbz2@3.1.0
│   │ │ │ ├── is-bzip2@1.0.0
│   │ │ │ ├── object-assign@2.1.1
│   │ │ │ ├─┬ seek-bzip@1.0.5
│   │ │ │ │ └─┬ commander@2.8.1
│   │ │ │ │   └── graceful-readlink@1.0.1
│   │ │ │ ├── strip-dirs@1.1.1 deduped
│   │ │ │ ├── tar-stream@1.5.4 deduped
│   │ │ │ ├─┬ through2@0.6.5
│   │ │ │ │ ├─┬ readable-stream@1.0.34
│   │ │ │ │ │ ├── core-util-is@1.0.2 deduped
│   │ │ │ │ │ ├── inherits@2.0.3 deduped
│   │ │ │ │ │ ├── isarray@0.0.1 deduped
│   │ │ │ │ │ └── string_decoder@0.10.31 deduped
│   │ │ │ │ └── xtend@4.0.1 deduped
│   │ │ │ └─┬ vinyl@0.4.6
│   │ │ │   ├── clone@0.2.0
│   │ │ │   └── clone-stats@0.0.1 deduped
│   │ │ ├─┬ decompress-targz@3.1.0
│   │ │ │ ├── is-gzip@1.0.0
│   │ │ │ ├── object-assign@2.1.1
│   │ │ │ ├── strip-dirs@1.1.1 deduped
│   │ │ │ ├── tar-stream@1.5.4 deduped
│   │ │ │ ├─┬ through2@0.6.5
│   │ │ │ │ ├─┬ readable-stream@1.0.34
│   │ │ │ │ │ ├── core-util-is@1.0.2 deduped
│   │ │ │ │ │ ├── inherits@2.0.3 deduped
│   │ │ │ │ │ ├── isarray@0.0.1 deduped
│   │ │ │ │ │ └── string_decoder@0.10.31 deduped
│   │ │ │ │ └── xtend@4.0.1 deduped
│   │ │ │ └─┬ vinyl@0.4.6
│   │ │ │   ├── clone@0.2.0
│   │ │ │   └── clone-stats@0.0.1 deduped
│   │ │ ├─┬ decompress-unzip@3.4.0
│   │ │ │ ├── is-zip@1.0.0
│   │ │ │ ├── read-all-stream@3.1.0 deduped
│   │ │ │ ├── stat-mode@0.2.2
│   │ │ │ ├── strip-dirs@1.1.1 deduped
│   │ │ │ ├─┬ through2@2.0.3
│   │ │ │ │ ├── readable-stream@2.3.3 deduped
│   │ │ │ │ └── xtend@4.0.1 deduped
│   │ │ │ ├── vinyl@1.2.0 deduped
│   │ │ │ └─┬ yauzl@2.8.0
│   │ │ │   ├── buffer-crc32@0.2.13
│   │ │ │   └── fd-slicer@1.0.1 deduped
│   │ │ ├─┬ stream-combiner2@1.1.1
│   │ │ │ ├─┬ duplexer2@0.1.4
│   │ │ │ │ └── readable-stream@2.3.3 deduped
│   │ │ │ └── readable-stream@2.3.3 deduped
│   │ │ ├─┬ vinyl-assign@1.2.1
│   │ │ │ ├── object-assign@4.1.1 deduped
│   │ │ │ └── readable-stream@2.3.3 deduped
│   │ │ └─┬ vinyl-fs@2.4.4
│   │ │   ├─┬ duplexify@3.5.1
│   │ │   │ ├── end-of-stream@1.4.0 deduped
│   │ │   │ ├── inherits@2.0.3 deduped
│   │ │   │ ├── readable-stream@2.3.3 deduped
│   │ │   │ └── stream-shift@1.0.0
│   │ │   ├─┬ glob-stream@5.3.5
│   │ │   │ ├── extend@3.0.1 deduped
│   │ │   │ ├─┬ glob@5.0.15
│   │ │   │ │ ├── inflight@1.0.6 deduped
│   │ │   │ │ ├── inherits@2.0.3 deduped
│   │ │   │ │ ├── minimatch@3.0.4 deduped
│   │ │   │ │ ├── once@1.4.0 deduped
│   │ │   │ │ └── path-is-absolute@1.0.1 deduped
│   │ │   │ ├─┬ glob-parent@3.1.0
│   │ │   │ │ ├─┬ is-glob@3.1.0
│   │ │   │ │ │ └── is-extglob@2.1.1
│   │ │   │ │ └── path-dirname@1.0.2
│   │ │   │ ├─┬ micromatch@2.3.11
│   │ │   │ │ ├─┬ arr-diff@2.0.0
│   │ │   │ │ │ └── arr-flatten@1.1.0
│   │ │   │ │ ├── array-unique@0.2.1
│   │ │   │ │ ├─┬ braces@1.8.5
│   │ │   │ │ │ ├─┬ expand-range@1.8.2
│   │ │   │ │ │ │ └─┬ fill-range@2.2.3
│   │ │   │ │ │ │   ├─┬ is-number@2.1.0
│   │ │   │ │ │ │   │ └── kind-of@3.2.2 deduped
│   │ │   │ │ │ │   ├─┬ isobject@2.1.0
│   │ │   │ │ │ │   │ └── isarray@1.0.0
│   │ │   │ │ │ │   ├─┬ randomatic@1.1.7
│   │ │   │ │ │ │   │ ├─┬ is-number@3.0.0
│   │ │   │ │ │ │   │ │ └─┬ kind-of@3.2.2
│   │ │   │ │ │ │   │ │   └── is-buffer@1.1.5 deduped
│   │ │   │ │ │ │   │ └─┬ kind-of@4.0.0
│   │ │   │ │ │ │   │   └── is-buffer@1.1.5 deduped
│   │ │   │ │ │ │   ├── repeat-element@1.1.2 deduped
│   │ │   │ │ │ │   └── repeat-string@1.6.1
│   │ │   │ │ │ ├── preserve@0.2.0
│   │ │   │ │ │ └── repeat-element@1.1.2
│   │ │   │ │ ├─┬ expand-brackets@0.1.5
│   │ │   │ │ │ └── is-posix-bracket@0.1.1
│   │ │   │ │ ├─┬ extglob@0.3.2
│   │ │   │ │ │ └── is-extglob@1.0.0 deduped
│   │ │   │ │ ├── filename-regex@2.0.1
│   │ │   │ │ ├── is-extglob@1.0.0
│   │ │   │ │ ├─┬ is-glob@2.0.1
│   │ │   │ │ │ └── is-extglob@1.0.0 deduped
│   │ │   │ │ ├─┬ kind-of@3.2.2
│   │ │   │ │ │ └── is-buffer@1.1.5
│   │ │   │ │ ├─┬ normalize-path@2.1.1
│   │ │   │ │ │ └── remove-trailing-separator@1.0.2
│   │ │   │ │ ├─┬ object.omit@2.0.1
│   │ │   │ │ │ ├─┬ for-own@0.1.5
│   │ │   │ │ │ │ └── for-in@1.0.2
│   │ │   │ │ │ └── is-extendable@0.1.1
│   │ │   │ │ ├─┬ parse-glob@3.0.4
│   │ │   │ │ │ ├─┬ glob-base@0.3.0
│   │ │   │ │ │ │ ├─┬ glob-parent@2.0.0
│   │ │   │ │ │ │ │ └── is-glob@2.0.1 deduped
│   │ │   │ │ │ │ └── is-glob@2.0.1 deduped
│   │ │   │ │ │ ├── is-dotfile@1.0.3
│   │ │   │ │ │ ├── is-extglob@1.0.0 deduped
│   │ │   │ │ │ └── is-glob@2.0.1 deduped
│   │ │   │ │ └─┬ regex-cache@0.4.3
│   │ │   │ │   ├─┬ is-equal-shallow@0.1.3
│   │ │   │ │   │ └── is-primitive@2.0.0 deduped
│   │ │   │ │   └── is-primitive@2.0.0
│   │ │   │ ├─┬ ordered-read-streams@0.3.0
│   │ │   │ │ ├── is-stream@1.1.0 deduped
│   │ │   │ │ └── readable-stream@2.3.3 deduped
│   │ │   │ ├─┬ through2@0.6.5
│   │ │   │ │ ├─┬ readable-stream@1.0.34
│   │ │   │ │ │ ├── core-util-is@1.0.2 deduped
│   │ │   │ │ │ ├── inherits@2.0.3 deduped
│   │ │   │ │ │ ├── isarray@0.0.1 deduped
│   │ │   │ │ │ └── string_decoder@0.10.31 deduped
│   │ │   │ │ └── xtend@4.0.1 deduped
│   │ │   │ ├─┬ to-absolute-glob@0.1.1
│   │ │   │ │ └─┬ extend-shallow@2.0.1
│   │ │   │ │   └── is-extendable@0.1.1 deduped
│   │ │   │ └─┬ unique-stream@2.2.1
│   │ │   │   ├── json-stable-stringify@1.0.1 deduped
│   │ │   │   └── through2-filter@2.0.0 deduped
│   │ │   ├── graceful-fs@4.1.11 deduped
│   │ │   ├─┬ gulp-sourcemaps@1.6.0
│   │ │   │ ├── convert-source-map@1.5.0
│   │ │   │ ├── graceful-fs@4.1.11 deduped
│   │ │   │ ├── strip-bom@2.0.0 deduped
│   │ │   │ ├── through2@2.0.3 deduped
│   │ │   │ └── vinyl@1.2.0 deduped
│   │ │   ├── is-valid-glob@0.3.0
│   │ │   ├─┬ lazystream@1.0.0
│   │ │   │ └── readable-stream@2.3.3 deduped
│   │ │   ├── lodash.isequal@4.5.0
│   │ │   ├─┬ merge-stream@1.0.1
│   │ │   │ └── readable-stream@2.3.3 deduped
│   │ │   ├── mkdirp@0.5.1 deduped
│   │ │   ├── object-assign@4.1.1 deduped
│   │ │   ├── readable-stream@2.3.3 deduped
│   │ │   ├─┬ strip-bom@2.0.0
│   │ │   │ └── is-utf8@0.2.1
│   │ │   ├─┬ strip-bom-stream@1.0.0
│   │ │   │ ├── first-chunk-stream@1.0.0
│   │ │   │ └── strip-bom@2.0.0 deduped
│   │ │   ├── through2@2.0.3 deduped
│   │ │   ├─┬ through2-filter@2.0.0
│   │ │   │ ├── through2@2.0.3 deduped
│   │ │   │ └── xtend@4.0.1 deduped
│   │ │   ├── vali-date@1.0.0
│   │ │   └── vinyl@1.2.0 deduped
│   │ ├─┬ download@4.4.3
│   │ │ ├─┬ caw@1.2.0
│   │ │ │ ├─┬ get-proxy@1.1.0
│   │ │ │ │ └── rc@1.2.1 deduped
│   │ │ │ ├── is-obj@1.0.1
│   │ │ │ ├── object-assign@3.0.0
│   │ │ │ └── tunnel-agent@0.4.3
│   │ │ ├── concat-stream@1.6.0 deduped
│   │ │ ├── each-async@1.1.1 deduped
│   │ │ ├─┬ filenamify@1.2.1
│   │ │ │ ├── filename-reserved-regex@1.0.0
│   │ │ │ ├─┬ strip-outer@1.0.0
│   │ │ │ │ └── escape-string-regexp@1.0.5 deduped
│   │ │ │ └─┬ trim-repeated@1.0.0
│   │ │ │   └── escape-string-regexp@1.0.5 deduped
│   │ │ ├─┬ got@5.7.1
│   │ │ │ ├─┬ create-error-class@3.0.2
│   │ │ │ │ └── capture-stack-trace@1.0.0
│   │ │ │ ├── duplexer2@0.1.4 deduped
│   │ │ │ ├── is-redirect@1.0.0
│   │ │ │ ├── is-retry-allowed@1.1.0
│   │ │ │ ├── is-stream@1.1.0 deduped
│   │ │ │ ├── lowercase-keys@1.0.0
│   │ │ │ ├── node-status-codes@1.0.0
│   │ │ │ ├── object-assign@4.1.1 deduped
│   │ │ │ ├─┬ parse-json@2.2.0
│   │ │ │ │ └─┬ error-ex@1.3.1
│   │ │ │ │   └── is-arrayish@0.2.1
│   │ │ │ ├── pinkie-promise@2.0.1 deduped
│   │ │ │ ├── read-all-stream@3.1.0 deduped
│   │ │ │ ├── readable-stream@2.3.3 deduped
│   │ │ │ ├── timed-out@3.1.3
│   │ │ │ ├── unzip-response@1.0.2
│   │ │ │ └─┬ url-parse-lax@1.0.0
│   │ │ │   └── prepend-http@1.0.4
│   │ │ ├─┬ gulp-decompress@1.2.0
│   │ │ │ ├── archive-type@3.2.0 deduped
│   │ │ │ ├── decompress@3.0.0 deduped
│   │ │ │ ├─┬ gulp-util@3.0.8
│   │ │ │ │ ├── array-differ@1.0.0
│   │ │ │ │ ├── array-uniq@1.0.3 deduped
│   │ │ │ │ ├── beeper@1.1.1
│   │ │ │ │ ├── chalk@1.1.3 deduped
│   │ │ │ │ ├── dateformat@2.0.0
│   │ │ │ │ ├─┬ fancy-log@1.3.0
│   │ │ │ │ │ ├── chalk@1.1.3 deduped
│   │ │ │ │ │ └── time-stamp@1.1.0
│   │ │ │ │ ├─┬ gulplog@1.0.0
│   │ │ │ │ │ └─┬ glogg@1.0.0
│   │ │ │ │ │   └── sparkles@1.0.0 deduped
│   │ │ │ │ ├─┬ has-gulplog@0.1.0
│   │ │ │ │ │ └── sparkles@1.0.0
│   │ │ │ │ ├── lodash._reescape@3.0.0
│   │ │ │ │ ├── lodash._reevaluate@3.0.0
│   │ │ │ │ ├── lodash._reinterpolate@3.0.0
│   │ │ │ │ ├─┬ lodash.template@3.6.2
│   │ │ │ │ │ ├── lodash._basecopy@3.0.1
│   │ │ │ │ │ ├── lodash._basetostring@3.0.1
│   │ │ │ │ │ ├── lodash._basevalues@3.0.0
│   │ │ │ │ │ ├── lodash._isiterateecall@3.0.9
│   │ │ │ │ │ ├── lodash._reinterpolate@3.0.0 deduped
│   │ │ │ │ │ ├─┬ lodash.escape@3.2.0
│   │ │ │ │ │ │ └── lodash._root@3.0.1
│   │ │ │ │ │ ├─┬ lodash.keys@3.1.2
│   │ │ │ │ │ │ ├── lodash._getnative@3.9.1
│   │ │ │ │ │ │ ├── lodash.isarguments@3.1.0
│   │ │ │ │ │ │ └── lodash.isarray@3.0.4
│   │ │ │ │ │ ├── lodash.restparam@3.6.1
│   │ │ │ │ │ └─┬ lodash.templatesettings@3.1.1
│   │ │ │ │ │   ├── lodash._reinterpolate@3.0.0 deduped
│   │ │ │ │ │   └── lodash.escape@3.2.0 deduped
│   │ │ │ │ ├── minimist@1.2.0 deduped
│   │ │ │ │ ├─┬ multipipe@0.1.2
│   │ │ │ │ │ └─┬ duplexer2@0.0.2
│   │ │ │ │ │   └─┬ readable-stream@1.1.14
│   │ │ │ │ │     ├── core-util-is@1.0.2 deduped
│   │ │ │ │ │     ├── inherits@2.0.3 deduped
│   │ │ │ │ │     ├── isarray@0.0.1 deduped
│   │ │ │ │ │     └── string_decoder@0.10.31 deduped
│   │ │ │ │ ├── object-assign@3.0.0
│   │ │ │ │ ├── replace-ext@0.0.1 deduped
│   │ │ │ │ ├── through2@2.0.3 deduped
│   │ │ │ │ └─┬ vinyl@0.5.3
│   │ │ │ │   ├── clone@1.0.2 deduped
│   │ │ │ │   ├── clone-stats@0.0.1 deduped
│   │ │ │ │   └── replace-ext@0.0.1 deduped
│   │ │ │ └── readable-stream@2.3.3 deduped
│   │ │ ├── gulp-rename@1.2.2
│   │ │ ├── is-url@1.2.2
│   │ │ ├── object-assign@4.1.1 deduped
│   │ │ ├─┬ read-all-stream@3.1.0
│   │ │ │ ├── pinkie-promise@2.0.1 deduped
│   │ │ │ └── readable-stream@2.3.3 deduped
│   │ │ ├── readable-stream@2.3.3 deduped
│   │ │ ├── stream-combiner2@1.1.1 deduped
│   │ │ ├─┬ vinyl@1.2.0
│   │ │ │ ├── clone@1.0.2
│   │ │ │ ├── clone-stats@0.0.1
│   │ │ │ └── replace-ext@0.0.1
│   │ │ ├── vinyl-fs@2.4.4 deduped
│   │ │ └─┬ ware@1.3.0
│   │ │   └─┬ wrap-fn@0.1.5
│   │ │     └── co@3.1.0
│   │ ├─┬ exec-series@1.0.3
│   │ │ ├── async-each-series@1.1.0
│   │ │ └── object-assign@4.1.1 deduped
│   │ ├── rimraf@2.6.1 deduped
│   │ ├─┬ tempfile@1.1.1
│   │ │ ├── os-tmpdir@1.0.2
│   │ │ └── uuid@2.0.3
│   │ └─┬ url-regex@3.2.0
│   │   └── ip-regex@1.0.3
│   ├─┬ bin-wrapper@3.0.2
│   │ ├─┬ bin-check@2.0.0
│   │ │ └─┬ executable@1.1.0
│   │ │   └── meow@3.7.0 deduped
│   │ ├─┬ bin-version-check@2.1.0
│   │ │ ├─┬ bin-version@1.0.4
│   │ │ │ └─┬ find-versions@1.2.1
│   │ │ │   ├── array-uniq@1.0.3 deduped
│   │ │ │   ├── get-stdin@4.0.1 deduped
│   │ │ │   ├── meow@3.7.0 deduped
│   │ │ │   └── semver-regex@1.0.0
│   │ │ ├── minimist@1.2.0 deduped
│   │ │ ├── semver@4.3.6
│   │ │ └─┬ semver-truncate@1.1.2
│   │ │   └── semver@5.4.1 deduped
│   │ ├── download@4.4.3 deduped
│   │ ├─┬ each-async@1.1.1
│   │ │ ├── onetime@1.1.0
│   │ │ └── set-immediate-shim@1.0.1
│   │ ├── lazy-req@1.1.0
│   │ └── os-filter-obj@1.0.3
│   └─┬ logalot@2.1.0
│     ├─┬ figures@1.7.0
│     │ ├── escape-string-regexp@1.0.5
│     │ └── object-assign@4.1.1 deduped
│     └─┬ squeak@1.3.0
│       ├─┬ chalk@1.1.3
│       │ ├── ansi-styles@2.2.1
│       │ ├── escape-string-regexp@1.0.5 deduped
│       │ ├─┬ has-ansi@2.0.0
│       │ │ └── ansi-regex@2.1.1 deduped
│       │ ├── strip-ansi@3.0.1 deduped
│       │ └── supports-color@2.0.0
│       ├── console-stream@0.1.1
│       └─┬ lpad-align@1.1.2
│         ├── get-stdin@4.0.1 deduped
│         ├─┬ indent-string@2.1.0
│         │ └─┬ repeating@2.0.1
│         │   └─┬ is-finite@1.0.2
│         │     └── number-is-nan@1.0.1 deduped
│         ├── longest@1.0.1
│         └── meow@3.7.0 deduped
├─┬ imagemin-pngquant@5.0.1
│ ├── exec-buffer@3.2.0 deduped
│ ├── is-png@1.1.0
│ └─┬ pngquant-bin@3.1.1
│   ├── bin-build@2.2.0 deduped
│   ├── bin-wrapper@3.0.2 deduped
│   └── logalot@2.1.0 deduped
├── jssocials@1.5.0
├── lzma@2.3.2
├── node-json-rpc@0.0.1
└─┬ webtorrent@0.98.19
  ├── addr-to-ip-port@1.4.2
  ├── bitfield@1.1.2
  ├─┬ bittorrent-dht@7.6.0
  │ ├─┬ bencode@1.0.0
  │ │ └── safe-buffer@5.1.1 deduped
  │ ├── buffer-equals@1.0.4
  │ ├── debug@2.6.8 deduped
  │ ├── inherits@2.0.3 deduped
  │ ├─┬ k-bucket@3.2.1
  │ │ ├── buffer-equals@1.0.4 deduped
  │ │ ├── inherits@2.0.3 deduped
  │ │ └── randombytes@2.0.5 deduped
  │ ├─┬ k-rpc@4.1.0
  │ │ ├── buffer-equals@1.0.4 deduped
  │ │ ├── k-bucket@3.2.1 deduped
  │ │ ├─┬ k-rpc-socket@1.7.1
  │ │ │ ├── bencode@1.0.0 deduped
  │ │ │ └── safe-buffer@5.1.1 deduped
  │ │ └── safe-buffer@5.1.1 deduped
  │ ├─┬ lru@3.1.0
  │ │ └── inherits@2.0.3 deduped
  │ └── safe-buffer@5.1.1 deduped
  ├─┬ bittorrent-protocol@2.2.3
  │ ├── bencode@1.0.0 deduped
  │ ├── bitfield@1.1.2 deduped
  │ ├── debug@2.6.8 deduped
  │ ├── inherits@2.0.3 deduped
  │ ├── randombytes@2.0.5 deduped
  │ ├── readable-stream@2.3.3 deduped
  │ ├── safe-buffer@5.1.1 deduped
  │ ├── speedometer@1.0.0 deduped
  │ ├── unordered-array-remove@1.0.2 deduped
  │ └── xtend@4.0.1 deduped
  ├─┬ chunk-store-stream@2.0.2
  │ ├─┬ block-stream2@1.1.0
  │ │ ├── defined@1.0.0
  │ │ ├── inherits@2.0.3 deduped
  │ │ └── readable-stream@2.3.3 deduped
  │ ├── inherits@2.0.3 deduped
  │ └── readable-stream@2.3.3 deduped
  ├─┬ create-torrent@3.29.2
  │ ├── bencode@1.0.0 deduped
  │ ├── block-stream2@1.1.0 deduped
  │ ├─┬ filestream@4.1.3
  │ │ ├── inherits@2.0.3 deduped
  │ │ ├── readable-stream@2.3.3 deduped
  │ │ ├─┬ typedarray-to-buffer@3.1.2
  │ │ │ └── is-typedarray@1.0.0 deduped
  │ │ └── xtend@4.0.1 deduped
  │ ├── flatten@1.0.2 deduped
  │ ├── is-file@1.0.0
  │ ├── junk@2.1.0
  │ ├── minimist@1.2.0 deduped
  │ ├── multistream@2.1.0 deduped
  │ ├─┬ once@1.4.0
  │ │ └── wrappy@1.0.2
  │ ├─┬ piece-length@1.0.0
  │ │ └── closest-to@2.0.0
  │ ├── readable-stream@2.3.3 deduped
  │ ├── run-parallel@1.1.6 deduped
  │ ├── simple-sha1@2.1.0 deduped
  │ └── xtend@4.0.1 deduped
  ├─┬ debug@2.6.8
  │ └── ms@2.0.0
  ├─┬ end-of-stream@1.4.0
  │ └── once@1.4.0 deduped
  ├─┬ fs-chunk-store@1.6.5
  │ ├─┬ mkdirp@0.5.1
  │ │ └── minimist@0.0.8
  │ ├─┬ random-access-file@1.8.1
  │ │ ├── buffer-alloc-unsafe@1.0.0
  │ │ ├── debug@2.6.8 deduped
  │ │ ├── inherits@2.0.3 deduped
  │ │ ├── mkdirp@0.5.1 deduped
  │ │ └── thunky@1.0.2 deduped
  │ ├── randombytes@2.0.5 deduped
  │ ├── rimraf@2.6.1 deduped
  │ ├── run-parallel@1.1.6 deduped
  │ └── thunky@1.0.2
  ├── immediate-chunk-store@1.0.8
  ├── inherits@2.0.3
  ├─┬ load-ip-set@1.3.1
  │ ├─┬ ip-set@1.0.1
  │ │ └── ip@1.1.5
  │ ├── netmask@1.0.6
  │ ├── once@1.4.0 deduped
  │ ├── simple-get@2.6.0 deduped
  │ └─┬ split@1.0.1
  │   └── through@2.3.8
  ├── memory-chunk-store@1.3.0
  ├── mime@1.3.6
  ├─┬ multistream@2.1.0
  │ ├── inherits@2.0.3 deduped
  │ └── readable-stream@2.3.3 deduped
  ├─┬ package-json-versionify@1.0.4
  │ └── browserify-package-json@1.0.1
  ├─┬ parse-torrent@5.8.3
  │ ├── blob-to-buffer@1.2.6 deduped
  │ ├── get-stdin@5.0.1
  │ ├─┬ magnet-uri@5.1.7
  │ │ ├── safe-buffer@5.1.1 deduped
  │ │ ├── thirty-two@1.0.2
  │ │ ├── uniq@1.0.1 deduped
  │ │ └── xtend@4.0.1 deduped
  │ ├─┬ parse-torrent-file@4.0.3
  │ │ ├── bencode@1.0.0 deduped
  │ │ ├── simple-sha1@2.1.0 deduped
  │ │ └── uniq@1.0.1 deduped
  │ └── simple-get@2.6.0 deduped
  ├─┬ pump@1.0.2
  │ ├── end-of-stream@1.4.0 deduped
  │ └── once@1.4.0 deduped
  ├── random-iterate@1.0.1
  ├── randombytes@2.0.5 deduped
  ├── range-parser@1.2.0
  ├─┬ readable-stream@2.3.3
  │ ├── core-util-is@1.0.2
  │ ├── inherits@2.0.3 deduped
  │ ├── isarray@1.0.0
  │ ├── process-nextick-args@1.0.7
  │ ├── safe-buffer@5.1.1 deduped
  │ ├─┬ string_decoder@1.0.3
  │ │ └── safe-buffer@5.1.1 deduped
  │ └── util-deprecate@1.0.2
  ├─┬ render-media@2.10.0
  │ ├── debug@2.6.8 deduped
  │ ├── is-ascii@1.0.0
  │ ├─┬ mediasource@2.1.3
  │ │ ├── inherits@2.0.3 deduped
  │ │ ├── readable-stream@2.3.3 deduped
  │ │ └── to-arraybuffer@1.0.1
  │ ├── stream-to-blob-url@2.1.0 deduped
  │ └─┬ videostream@2.4.2
  │   ├── binary-search@1.3.2
  │   ├── inherits@2.0.3 deduped
  │   ├── mediasource@2.1.3 deduped
  │   ├─┬ mp4-box-encoding@1.1.2
  │   │ └── uint64be@1.0.1
  │   ├─┬ mp4-stream@2.0.2
  │   │ ├── inherits@2.0.3 deduped
  │   │ ├── mp4-box-encoding@1.1.2 deduped
  │   │ ├── next-event@1.0.0
  │   │ └── readable-stream@2.3.3 deduped
  │   ├── multistream@2.1.0 deduped
  │   ├── pump@1.0.2 deduped
  │   └─┬ range-slice-stream@1.2.0
  │     ├── inherits@2.0.3 deduped
  │     └── readable-stream@2.3.3 deduped
  ├── run-parallel@1.1.6 deduped
  ├── run-parallel-limit@1.0.3
  ├── safe-buffer@5.1.1 deduped
  ├── simple-concat@1.0.0
  ├─┬ simple-get@2.6.0
  │ ├── once@1.4.0 deduped
  │ ├── simple-concat@1.0.0 deduped
  │ └── unzip-response@2.0.1
  ├─┬ simple-peer@8.1.1
  │ ├── debug@2.6.8 deduped
  │ ├── get-browser-rtc@1.0.2
  │ ├── inherits@2.0.3 deduped
  │ ├── randombytes@2.0.5 deduped
  │ └── readable-stream@2.3.3 deduped
  ├─┬ simple-sha1@2.1.0
  │ └── rusha@0.8.6
  ├── speedometer@1.0.0
  ├─┬ stream-to-blob@1.0.0
  │ └── once@1.4.0 deduped
  ├─┬ stream-to-blob-url@2.1.0
  │ └── stream-to-blob@1.0.0 deduped
  ├─┬ stream-with-known-length-to-buffer@1.0.0
  │ └── once@1.4.0 deduped
  ├─┬ torrent-discovery@8.3.1
  │ ├── bittorrent-dht@7.6.0 deduped
  │ ├─┬ bittorrent-tracker@9.2.3
  │ │ ├── bencode@1.0.0 deduped
  │ │ ├── bittorrent-peerid@1.2.0
  │ │ ├── bn.js@4.11.8
  │ │ ├─┬ bufferutil@3.0.2
  │ │ │ ├── bindings@1.2.1
  │ │ │ ├── nan@2.6.2
  │ │ │ └─┬ prebuild-install@2.2.2
  │ │ │   ├── expand-template@1.0.3
  │ │ │   ├── github-from-package@0.0.0
  │ │ │   ├── minimist@1.2.0 deduped
  │ │ │   ├── mkdirp@0.5.1 deduped
  │ │ │   ├── node-abi@2.1.0
  │ │ │   ├── noop-logger@0.1.1
  │ │ │   ├─┬ npmlog@4.1.2
  │ │ │   │ ├─┬ are-we-there-yet@1.1.4
  │ │ │   │ │ ├── delegates@1.0.0
  │ │ │   │ │ └── readable-stream@2.3.3 deduped
  │ │ │   │ ├── console-control-strings@1.1.0
  │ │ │   │ ├─┬ gauge@2.7.4
  │ │ │   │ │ ├── aproba@1.1.2
  │ │ │   │ │ ├── console-control-strings@1.1.0 deduped
  │ │ │   │ │ ├── has-unicode@2.0.1
  │ │ │   │ │ ├── object-assign@4.1.1 deduped
  │ │ │   │ │ ├── signal-exit@3.0.2 deduped
  │ │ │   │ │ ├── string-width@1.0.2 deduped
  │ │ │   │ │ ├── strip-ansi@3.0.1 deduped
  │ │ │   │ │ └─┬ wide-align@1.1.2
  │ │ │   │ │   └── string-width@1.0.2 deduped
  │ │ │   │ └── set-blocking@2.0.0
  │ │ │   ├── os-homedir@1.0.2
  │ │ │   ├── pump@1.0.2 deduped
  │ │ │   ├── rc@1.2.1 deduped
  │ │ │   ├─┬ simple-get@1.4.3
  │ │ │   │ ├── once@1.4.0 deduped
  │ │ │   │ ├── unzip-response@1.0.2 deduped
  │ │ │   │ └── xtend@4.0.1 deduped
  │ │ │   ├─┬ tar-fs@1.15.3
  │ │ │   │ ├── chownr@1.0.1
  │ │ │   │ ├── mkdirp@0.5.1 deduped
  │ │ │   │ ├── pump@1.0.2 deduped
  │ │ │   │ └── tar-stream@1.5.4 deduped
  │ │ │   ├── tunnel-agent@0.6.0 deduped
  │ │ │   └── xtend@4.0.1 deduped
  │ │ ├── compact2string@1.4.0 deduped
  │ │ ├── debug@2.6.8 deduped
  │ │ ├── inherits@2.0.3 deduped
  │ │ ├── ip@1.1.5 deduped
  │ │ ├── lru@3.1.0 deduped
  │ │ ├── minimist@1.2.0 deduped
  │ │ ├── once@1.4.0 deduped
  │ │ ├── random-iterate@1.0.1 deduped
  │ │ ├── randombytes@2.0.5 deduped
  │ │ ├── run-parallel@1.1.6 deduped
  │ │ ├── run-series@1.1.4
  │ │ ├── safe-buffer@5.1.1 deduped
  │ │ ├── simple-get@2.6.0 deduped
  │ │ ├── simple-peer@8.1.1 deduped
  │ │ ├─┬ simple-websocket@5.0.2
  │ │ │ ├── debug@2.6.8 deduped
  │ │ │ ├── inherits@2.0.3 deduped
  │ │ │ ├── randombytes@2.0.5 deduped
  │ │ │ ├── readable-stream@2.3.3 deduped
  │ │ │ ├── safe-buffer@5.1.1 deduped
  │ │ │ └─┬ ws@2.3.1
  │ │ │   ├── safe-buffer@5.0.1
  │ │ │   └── ultron@1.1.0 deduped
  │ │ ├── string2compact@1.2.2 deduped
  │ │ ├── uniq@1.0.1 deduped
  │ │ ├── unordered-array-remove@1.0.2 deduped
  │ │ ├─┬ ws@3.1.0
  │ │ │ ├── safe-buffer@5.1.1 deduped
  │ │ │ └── ultron@1.1.0
  │ │ └── xtend@4.0.1 deduped
  │ ├── debug@2.6.8 deduped
  │ ├── inherits@2.0.3 deduped
  │ ├── run-parallel@1.1.6 deduped
  │ └── xtend@4.0.1 deduped
  ├── torrent-piece@1.1.1
  ├── uniq@1.0.1
  ├── unordered-array-remove@1.0.2
  ├─┬ ut_metadata@3.0.11
  │ ├── bencode@1.0.0 deduped
  │ ├── bitfield@1.1.2 deduped
  │ ├── debug@2.6.8 deduped
  │ ├── inherits@2.0.3 deduped
  │ ├── safe-buffer@5.1.1 deduped
  │ └── simple-sha1@2.1.0 deduped
  ├─┬ ut_pex@1.1.6
  │ ├── bencode@1.0.0 deduped
  │ ├─┬ compact2string@1.4.0
  │ │ └── ipaddr.js@1.4.0
  │ ├── inherits@2.0.3 deduped
  │ └─┬ string2compact@1.2.2
  │   ├── addr-to-ip-port@1.4.2 deduped
  │   └── ipaddr.js@1.4.0 deduped
  ├── xtend@4.0.1
  └── zero-fill@2.2.3
develar commented 7 years ago

Interesting.

As workaround, please add combined-stream to deps: yarn add combined-stream

ander7agar commented 7 years ago

yarn add combined-stream installed combined-stream@1.0.5 version. After being installed I deleted the output folder of the compilation, I have recompiled and run the application but the problem persists.

ander7agar commented 7 years ago

In case it helps I use the following script to compile:

'use strict';
var packager = require('electron-packager');
let appVersion = '1.0.0';
const args   = process.argv.slice(2);

let name = 'myApp';
let ignoreFolders = ['.idea', 'app.conf', 'bin'];

function buildOptions(platform) {
    return {
        'arch': 'x64',
        'platform': platform,
        'dir': './',
        'ignore': ignoreFolders,
        'appCopyright': 'myApp 2017',
        'appVersion': appVersion,
        'asar': true,
        'icon': '1.ico',
        'name': name,
        'out': './releases',
        'overwrite': true,
        'prune': false,
        'electronVersion': '1.7.5',
        'version-string': {
            'CompanyName': 'myApp',
            'FileDescription': 'myApp', /*This is what display windows on task manager, shortcut and process*/
            'OriginalFilename': name + '-' + platform + '-' + appVersion,
            'ProductName': name,
            'InternalName': name
        }
    };
}
let optionsWindows = buildOptions('win32');
let optionsLinux = buildOptions('linux');
let optionsMac = buildOptions('darwin');

let options = {
    windows: optionsWindows,
    linux: optionsLinux,
    mac: optionsMac
};
let sArgs = args.join('--');

let platform   = sArgs.match('-p=([^-.]*)');
platform = platform ? platform[1]: null;

let arch       = sArgs.match('-a=([^-.]*)');
arch = arch ? arch[1]: null;

let outPath    = sArgs.match('-o=([^-.]*)');
outPath = outPath ? outPath[1]: null;

function build(opts) {
    if (arch) {
        opts.arch = arch;
    }
    if (outPath) {
        opts.out = outPath;
    }
    console.log("Building - "+opts.name+"("+opts.appVersion+")"+"...");
    console.log("   - ElectronVersion - "+opts.electronVersion);
    console.log("   - Platform        - "+platform);
    console.log("   - Architecture    - "+(arch || opts.arch));
    console.log("\n");

    packager(opts, function done_callback(err, appPaths) {
        if (err) {
            console.log("\nThere has been an error Building["+platform+"]("+(arch || opts.arch)+"): ", err);
        }
        else {
            console.log("\nBuild for "+platform+"("+(arch || opts.arch)+ ") completed. Status ["+((appPaths != '') ? 'OK': 'FAIL')+"]");
            if((appPaths != '')) console.log("You can find builds at '"+appPaths+"'");
            else console.log("There has been an error with build. ErrorCodes should be shown above");
        }
    });
}

if (platform && !options[platform]) {
    console.log("ErrorCodes: platform ["+platform+"] is not valid.\n", "Please use one of the following: \n")
    console.log("Available Platforms: [windows, linux, mac]");
    return console.log("Available Architectures: [windows: x64 ia32, linux: x86 x86_x64, mac: x64]");
}
else if(!platform){
    let platforms = Object.keys(options);
    for (let i = 0; i < platforms.length; i++) {
        let opts = options[platforms[i]];
        build(opts);
    }
}
else {
    let opts = options[platform];
    build(opts);

}
develar commented 7 years ago

This project — electron-builder. Please use electron-builder instead of electron-packager.

ander7agar commented 7 years ago

I've tried compiling with electron-builder, now it seems to work perfectly. What is the difference between electron-builder and electron-packager. How do I know which one I have to use?

develar commented 7 years ago

What is the difference between electron-builder and electron-packager

Well... there a lot of differences. electron-builder outperforms electron-packager in all aspects and offers you a lot of unique features.

How do I know which one I have to use?

Just use electron-builder. In case of problems, file issue / open discussion. We are open to any feedback.

ander7agar commented 7 years ago

Great! One last question. Do you mean that electron-packager is deprecated?

develar commented 7 years ago

@ander7agar Both projects are opensource projects. In the userland. Not backed by Github and not affiliated with GitHub. Because electron-packager is very simple and limited tool (limited by defined/declared scope, I mean only this), no sense for electron-builder to join forces and merge electron-builder and electron-packager.

Download stats (330K vs 98K) and fact, that most of the electron boilerplates uses electron-builder, shows that users prefer to use electron-builder.

ander7agar commented 7 years ago

Ok, thank you very much for the support!