docker / kitematic

Visual Docker Container Management on Mac & Windows
https://kitematic.com
Apache License 2.0
12.25k stars 1.41k forks source link

Blank application with npm run release - osx #2944

Open vanduc1102 opened 7 years ago

vanduc1102 commented 7 years ago

Expected behavior

Application run as normal,

Actual behavior

Blank application

Information about the Issue

Systems:

osx 10.12.5 xcode 8.3.3 node 6.11.2 npm 3.10.10

Screenshots: blank-application

build log:

kitematic git:(master) npm run release

> Kitematic@0.17.1 release /Users/ducnguyen/Workspace/github/kitematic
> grunt release

Running "clean:release" (clean) task
>> 2 paths cleaned.

Running "babel:dist" (babel) task

Running "less:dist" (less) task
>> 1 stylesheet created.

Running "copy:dev" (copy) task
Created 157 directories, copied 1372 files

Running "electron:windows" (electron) task
Packaging app for platform win32 x64 using electron v0.35.4

Running "electron:osx" (electron) task
Packaging app for platform darwin x64 using electron v0.35.4

Running "electron:linux" (electron) task
Packaging app for platform linux x64 using electron v0.35.4

Running "copy:osx" (copy) task
Copied 2 files

Running "shell:sign" (shell) task
>> Developer ID Application: Docker Inc: no identity found
>>

Running "shell:zip" (shell) task

Running "copy:windows" (copy) task
Copied 6 files

Running "rcedit:exes" (rcedit) task
>> Edited 1 file

Running "compress:windows" (compress) task
Created ./release/Kitematic-Windows.zip (60693161 bytes)

Running "shell:linux_npm" (shell) task
Kitematic@0.17.1 /Users/ducnguyen/Workspace/github/kitematic/build
├─┬ alt@0.16.10
│ ├── es-symbol@1.1.2
│ ├── eventemitter3@0.1.6
│ └── flux@2.0.3
├─┬ ansi-to-html@0.3.0
│ └── entities@1.1.1
├─┬ cached-request@1.1.2
│ └── graceful-fs@4.1.11
├─┬ coveralls@2.13.1
│ ├─┬ js-yaml@3.6.1
│ │ ├─┬ argparse@1.0.9
│ │ │ └── sprintf-js@1.0.3
│ │ └── esprima@2.7.3
│ ├── lcov-parse@0.0.10
│ ├── log-driver@1.2.5
│ └─┬ request@2.79.0
│   ├── caseless@0.11.0
│   ├─┬ har-validator@2.0.6
│   │ ├─┬ chalk@1.1.3
│   │ │ ├── ansi-styles@2.2.1
│   │ │ ├── escape-string-regexp@1.0.5
│   │ │ ├─┬ has-ansi@2.0.0
│   │ │ │ └── ansi-regex@2.1.1
│   │ │ ├── strip-ansi@3.0.1
│   │ │ └── supports-color@2.0.0
│   │ ├── commander@2.11.0
│   │ ├─┬ is-my-json-valid@2.16.0
│   │ │ ├── generate-function@2.0.0
│   │ │ ├─┬ generate-object-property@1.2.0
│   │ │ │ └── is-property@1.0.2
│   │ │ └── jsonpointer@4.0.1
│   │ └─┬ pinkie-promise@2.0.1
│   │   └── pinkie@2.0.4
│   ├── qs@6.3.2
│   └── tunnel-agent@0.4.3
├─┬ dockerode@2.5.0
│ ├─┬ concat-stream@1.5.2
│ │ ├── inherits@2.0.3
│ │ ├─┬ readable-stream@2.0.6
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── string_decoder@0.10.31
│ │ │ └── util-deprecate@1.0.2
│ │ └── typedarray@0.0.6
│ ├─┬ docker-modem@1.0.0
│ │ ├─┬ debug@2.6.8
│ │ │ └── ms@2.0.0
│ │ ├─┬ JSONStream@0.10.0
│ │ │ └── jsonparse@0.0.5
│ │ ├─┬ readable-stream@1.0.34
│ │ │ └── isarray@0.0.1
│ │ └── split-ca@1.0.1
│ └─┬ tar-fs@1.12.0
│   ├─┬ pump@1.0.2
│   │ └── end-of-stream@1.4.0
│   └─┬ tar-stream@1.5.4
│     ├── bl@1.2.1
│     └── xtend@4.0.1
├─┬ grunt-electron-installer-debian@0.3.1
│ └─┬ electron-installer-debian@0.3.1
│   ├─┬ asar@0.12.4
│   │ ├── chromium-pickle-js@0.2.0
│   │ ├── cuint@0.2.2
│   │ ├── glob@6.0.4
│   │ ├─┬ mksnapshot@0.3.1
│   │ │ ├─┬ decompress-zip@0.3.0
│   │ │ │ ├─┬ binary@0.3.0
│   │ │ │ │ ├── buffers@0.1.1
│   │ │ │ │ └─┬ chainsaw@0.1.0
│   │ │ │ │   └── traverse@0.3.9
│   │ │ │ ├── mkpath@0.1.0
│   │ │ │ ├─┬ nopt@3.0.6
│   │ │ │ │ └── abbrev@1.1.0
│   │ │ │ ├─┬ readable-stream@1.1.14
│   │ │ │ │ └── isarray@0.0.1
│   │ │ │ └─┬ touch@0.0.3
│   │ │ │   └── nopt@1.0.10
│   │ │ └── fs-extra@0.26.7
│   │ └── tmp@0.0.28
│   ├── async@2.5.0
│   ├─┬ fs-extra@0.30.0
│   │ ├── jsonfile@2.4.0
│   │ └── klaw@1.3.1
│   ├─┬ get-folder-size@1.0.0
│   │ └── minimist@1.2.0
│   ├── lodash@4.17.4
│   ├─┬ temp@0.8.3
│   │ ├── os-tmpdir@1.0.2
│   │ └── rimraf@2.2.8
│   ├── word-wrap@1.2.3
│   └─┬ yargs@4.8.1
│     ├─┬ cliui@3.2.0
│     │ └── wrap-ansi@2.1.0
│     ├── decamelize@1.2.0
│     ├── get-caller-file@1.0.2
│     ├── lodash.assign@4.2.0
│     ├─┬ os-locale@1.4.0
│     │ └─┬ lcid@1.0.0
│     │   └── invert-kv@1.0.0
│     ├─┬ read-pkg-up@1.0.1
│     │ ├─┬ find-up@1.1.2
│     │ │ └── path-exists@2.1.0
│     │ └─┬ read-pkg@1.1.0
│     │   ├─┬ load-json-file@1.1.0
│     │   │ ├─┬ parse-json@2.2.0
│     │   │ │ └─┬ error-ex@1.3.1
│     │   │ │   └── is-arrayish@0.2.1
│     │   │ ├── pify@2.3.0
│     │   │ └─┬ strip-bom@2.0.0
│     │   │   └── is-utf8@0.2.1
│     │   ├─┬ 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
│     │   │ └─┬ validate-npm-package-license@3.0.1
│     │   │   ├─┬ spdx-correct@1.0.2
│     │   │   │ └── spdx-license-ids@1.2.2
│     │   │   └── spdx-expression-parse@1.0.4
│     │   └── path-type@1.1.0
│     ├── require-directory@2.1.1
│     ├── require-main-filename@1.0.1
│     ├── set-blocking@2.0.0
│     ├─┬ string-width@1.0.2
│     │ ├── code-point-at@1.1.0
│     │ └─┬ is-fullwidth-code-point@1.0.0
│     │   └── number-is-nan@1.0.1
│     ├── which-module@1.0.0
│     ├── window-size@0.2.0
│     ├── y18n@3.2.1
│     └── yargs-parser@2.4.1
├─┬ grunt-electron-installer-redhat@0.3.1
│ └─┬ electron-installer-redhat@0.3.1
│   ├── async@2.5.0
│   ├── fs-extra@1.0.0
│   └─┬ yargs@6.6.0
│     ├── camelcase@3.0.0
│     └── yargs-parser@4.2.1
├─┬ JSONStream@1.3.1
│ └── through@2.3.8
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ react@0.13.3
│ └─┬ envify@3.4.1
│   └─┬ jstransform@11.0.3
│     ├── base62@1.2.0
│     ├─┬ commoner@0.10.8
│     │ ├─┬ detective@4.5.0
│     │ │ ├── acorn@4.0.13
│     │ │ └── defined@1.0.0
│     │ ├── glob@5.0.15
│     │ ├── iconv-lite@0.4.18
│     │ ├── private@0.1.7
│     │ ├── q@1.5.0
│     │ └─┬ recast@0.11.23
│     │   ├── ast-types@0.9.6
│     │   ├── esprima@3.1.3
│     │   └── source-map@0.5.6
│     ├── esprima-fb@15001.1.0-dev-harmony-fb
│     ├── object-assign@2.1.1
│     └─┬ source-map@0.4.4
│       └── amdefine@1.0.1
├─┬ react-retina-image@1.3.3
│ ├── array-equal@1.0.0
│ ├── image-exists@1.1.0
│ └── is-retina@1.0.3
├─┬ react-router@0.13.6
│ ├── can-use-dom@0.1.0
│ └─┬ invariant@2.2.2
│   └─┬ loose-envify@1.3.1
│     └── js-tokens@3.0.2
├─┬ request@2.81.0
│ ├── aws-sign2@0.6.0
│ ├── aws4@1.6.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
│ ├─┬ 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
│ │ ├── cryptiles@2.0.5
│ │ ├── hoek@2.16.3
│ │ └── sntp@1.0.9
│ ├─┬ 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
│ │ └─┬ sshpk@1.13.1
│ │   ├── asn1@0.2.3
│ │   ├── assert-plus@1.0.0
│ │   ├── bcrypt-pbkdf@1.0.1
│ │   ├─┬ dashdash@1.14.1
│ │   │ └── assert-plus@1.0.0
│ │   ├── ecc-jsbn@0.1.1
│ │   ├─┬ getpass@0.1.7
│ │   │ └── assert-plus@1.0.0
│ │   ├── 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
│ >> npm
>> WARN grunt-electron-installer-redhat@0.3.1 requires a peer of grunt@>=0.4.0 but none was installed.
>> npm WARN grunt-electron-installer-debian@0.3.1 requires a peer of grunt@>=0.4.0 but none was installed.
│ └── mime-db@1.29.0
│ ├── oauth-sign@0.8.2
│ ├── performance-now@0.2.0
│ ├── safe-buffer@5.1.1
│ ├── stringstream@0.0.5
│ └─┬ tough-cookie@2.3.2
│   └── punycode@1.4.1
├─┬ request-progress@0.3.1
│ └── throttleit@0.0.2
├─┬ rimraf@2.6.1
│ └─┬ glob@7.1.2
│   ├── fs.realpath@1.0.0
│   ├─┬ inflight@1.0.6
│   │ └── wrappy@1.0.2
│   ├─┬ minimatch@3.0.4
│   │ └─┬ brace-expansion@1.1.8
│   │   ├── balanced-match@1.0.0
│   │   └── concat-map@0.0.1
│   ├── once@1.4.0
│   └── path-is-absolute@1.0.1
├─┬ validator@4.9.0
│ └── depd@1.1.0
└─┬ which@1.3.0
  └── isexe@2.0.0

Running "electron-packager:osxlnx" (electron-packager) task
Packaging app for platform linux x64 using electron v0.35.4
    dist/Kitematic-linux-x64

Done, without errors.

Steps to reproduce the behavior

  1. Remove 'electron-installer-debian:linux64', 'shell:linux_zip' from Gruntfile.js , Because i dont need.
  2. npm run release
  3. Open application from /dist/ folder
FrenchBen commented 7 years ago

make sure that things work properly without doing a release: npm install npm start

vanduc1102 commented 7 years ago

@FrenchBen ,

It works perfect with npm install npm start ,

But i want to create a local release for my team mate.