€ grunt linux-prod --verbose
Initializing
Command-line options: --verbose
Reading "Gruntfile.coffee" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-contrib-clean" local Npm module tasks.
Reading /usr/src/wireapp/wire-desktop/node_modules/grunt-contrib-clean/package.json...OK
Parsing /usr/src/wireapp/wire-desktop/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
Registering "grunt-electron-installer" local Npm module tasks.
Reading /usr/src/wireapp/wire-desktop/node_modules/grunt-electron-installer/package.json...OK
Parsing /usr/src/wireapp/wire-desktop/node_modules/grunt-electron-installer/package.json...OK
Loading "index.js" tasks...OK
Registering "grunt-git" local Npm module tasks.
Reading /usr/src/wireapp/wire-desktop/node_modules/grunt-git/package.json...OK
Parsing /usr/src/wireapp/wire-desktop/node_modules/grunt-git/package.json...OK
Loading "git.js" tasks...OK
Registering "grunt-github-changes" local Npm module tasks.
Reading /usr/src/wireapp/wire-desktop/node_modules/grunt-github-changes/package.json...OK
Parsing /usr/src/wireapp/wire-desktop/node_modules/grunt-github-changes/package.json...OK
Loading "github_changes.js" tasks...OK
Registering "grunt-shell" local Npm module tasks.
Reading /usr/src/wireapp/wire-desktop/node_modules/grunt-shell/package.json...OK
Parsing /usr/src/wireapp/wire-desktop/node_modules/grunt-shell/package.json...OK
Loading "shell.js" tasks...OK
Running tasks: linux-prod
Running "linux-prod" task
Running "clean:linux" (clean) task
Verifying property clean.linux exists in config...OK
Files: [no src] -> linux
Options: force=false, no-write=false
0 paths cleaned.
Running "update-keys" task
Options: config="electron/js/config.js"
Reading electron/js/config.js...OK
Writing electron/js/config.js...OK
Running "release-prod" task
Reading electron/package.json...OK
Parsing electron/package.json...OK
Writing electron/package.json...OK
Releases URL points to https://wire-app.wire.com/win/prod/ OK
Running "shell" task
Running "shell:linux64" (shell) task
Verifying property shell.linux64 exists in config...OK
File: [no files]
Options: stdout, stderr, stdin, failOnError, stdinRawMode=false, preferLocal, execOptions={"env":null}
Command: yarn run linux64
Error: Could not find or load main class run
Warning: Command failed: /bin/sh -c yarn run linux64
Error: Could not find or load main class run
Use --force to continue.
Aborted due to warnings.
€ cat /etc/fedora-release
Fedora release 24 (Twenty Four)
Are there some additional packages necessary? Am I doing something wrong? It used to be working previously. Thanks.
Looks like you are missing yarn. Install from your distro or npm install -g yarn.
Edit, just tried with the latest source:
$ yarn && grunt linux-prod
yarn install v0.16.1
$ cd electron && yarn
yarn install v0.16.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 60.14s.
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
warning [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ yarn run rebuild-native-modules
yarn run v0.16.1
$ electron-rebuild -m ./electron/node_modules -f
Done in 32.42s.
Done in 511.86s.
Running "clean:linux" (clean) task
>> 1 path cleaned.
Running "update-keys" task
Running "release-prod" task
Releases URL points to https://wire-app.wire.com/win/prod/ OK
Running "shell:linux64" (shell) task
yarn run v0.16.1
$ build --linux --x64
Skip app dependencies rebuild because npmRebuild is set to false
Packaging for platform linux x64 using electron 1.4.4 to wrap/dist/linux-unpacked
Done in 295.60s.
Running "shell:linux32" (shell) task
yarn run v0.16.1
$ build --linux --ia32
Skip app dependencies rebuild because npmRebuild is set to false
Packaging for platform linux ia32 using electron 1.4.4 to wrap/dist/linux-ia32-unpacked
Done in 265.21s.
Done.
Updated instructions #173
Most helpful comment
Looks like you are missing yarn. Install from your distro or
npm install -g yarn.Edit, just tried with the latest source: