Package Details: franz 1:5.10.0-1

Git Clone URL: https://aur.archlinux.org/franz.git (read-only, click to copy)
Package Base: franz
Description: Free messaging app for services like WhatsApp, Slack, Messenger and many more.
Upstream URL: https://meetfranz.com
Licenses: Apache
Submitter: 314eter
Maintainer: ItachiSan
Last Packager: ItachiSan
Votes: 146
Popularity: 0.000000
First Submitted: 2017-10-26 11:34 (UTC)
Last Updated: 2023-09-11 20:46 (UTC)

Dependencies (5)

Required by (0)

Sources (3)

Pinned Comments

ItachiSan commented on 2019-10-07 08:26 (UTC) (edited on 2021-09-08 07:58 (UTC) by ItachiSan)

If you have troubles, read this message!

Please go to the relevant section of this comment in order to make both your and my life easier :)

  1. Errors when starting the app like: the chat area is all blue
  2. (Obsolete) I get an error when upgrading packages

Now, to the resolutions!

1. The app opens but I got a blue screen and nothing more / The app refuses to start / ...

The package depends on Node.js native stuff which are compiled at build time, which makes it break on Electron updates.

With a PKGBUILD between 2020-11-15 till 2021-09-08, you should always have gad a correct matching between Electron and Franz versions.

After 2021-09-08, while the Electron packages follows just the official Arch package dependency, as it is based on not-rolling versions (AKA following a specific Electron branch) breakages are unlikely.

If you would like to help me on this, whenever you have problems starting it, do the following:

  1. Open Franz
  2. Franz is broken: maybe for a recent update?
  3. Reinstall Franz from AUR; this will make it rebuild the native blobs
  4. Re-open Franz
  5. Franz should work fine; if so, it was a Node.js/Electron/else update problem

If the above steps help you, report the package as outdated here and write in the comment something like:

Electron update broke Franz

If you have some other issues, you should open the developer tools and give me its output, in addition to what is your environment, so I can figure out if it is a packaging issue (my job to fix) or an upstream/code issue (their job to fix); in the second case, I will open a bug request and mention it in a comment, so that you can track it.

2. (Obsolete) I cannot upgrade Electron

The following resolution is not valid since 2021-09-08, it is kept for historic purposes

This is intended; since the PKGBUILD for Franz 5.5.0-4, the package marks as dependency a version-locked Electron package in order to avoid issues with binary modules over upgrades.

In such scenario, you should, assuming _electron="electron" in the PKGBUILD (meaning the Electron used is bundled in the package electron):

  1. Mark this package as out of date
  2. Do you regular updates with: pacman -Syu --ignore electron

If you want however to upgrade the Electron package, do

  1. Upgrade the electron package with pacman -S --assume-installed electron=FRANZ.REQUIRED.VERSION electron
  2. Rebuild Franz if needed

Hope this was a good explanation, might get updates if I missed something :)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 19 Next › Last »

ItachiSan commented on 2018-07-06 13:38 (UTC)

The build issue is due to: https://github.com/nodejs/nan/issues/793 As soon as it is solved upstream, builds will go well.

carlba commented on 2018-06-03 07:40 (UTC)

I tried j0nas suggestion but to no avail :(

abdulhakeem commented on 2018-06-03 01:18 (UTC)

Can't build with either pacaur or aurman, please fix

Kuchiriel commented on 2018-06-01 14:09 (UTC)

pacaur -S franz <br> :: Package franz not found in repositories, trying AUR... :: resolvendo dependências... :: procurando por conflitos internos... :: franz-5.0.0_beta.17-1 has been flagged out of date on qui 12 abr 2018 05:51:45 -03

AUR Packages (1) franz-5.0.0_beta.17-1

:: Continuar instalação? [S/n]

:: Obtendo pacote(s)... :: franz build files are up-to-date -- skipping :: Verificando integridade de franz... ==> Criando o pacote: franz 5.0.0_beta.17-1 (sex jun 1 11:09:05 -03 2018) ==> Obtendo fontes... -> Encontrado v5.0.0-beta.17.tar.gz -> Encontrado franz.desktop ==> Validando source arquivos com sha256sums... v5.0.0-beta.17.tar.gz ... Passou franz.desktop ... Passou :: Construindo o(s) pacote(s) franz... ==> Criando o pacote: franz 5.0.0_beta.17-1 (sex jun 1 11:09:07 -03 2018) ==> Verificando as dependências de tempo de execução... ==> Verificando as dependências de tempo de compilação... ==> ATENÇÃO: Usando a árvore do $srcdir/ existente ==> Removendo diretório $pkgdir/ existente... ==> Iniciando build()... yarn install v1.7.0 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.1.2: The platform "linux" is incompatible with this module. info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning " > eslint-config-airbnb@14.1.0" has incorrect peer dependency "eslint@^3.15.0". warning " > eslint-plugin-jsx-a11y@3.0.2" has incorrect peer dependency "eslint@^2.10.2 || 3.x". warning " > eslint-plugin-react@6.10.3" has incorrect peer dependency "eslint@^2.0.0 || ^3.0.0". [4/4] Building fresh packages... [1/6] ⠠ macos-notification-state [2/6] ⠠ windows-notification-state [3/6] ⠠ windows-quiet-hours [4/6] ⠠ @paulcbetts/cld error /home/trevor/.cache/pacaur/franz/src/franz-5.0.0-beta.17/node_modules/macos-notification-state: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: /home/trevor/.cache/pacaur/franz/src/franz-5.0.0-beta.17/node_modules/macos-notification-state Output: gyp info it worked if it ends with ok gyp info using node-gyp@3.6.2 gyp info using node@10.2.0 | linux | x64 gyp info spawn /usr/bin/python2 gyp info spawn args [ '/usr/lib/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 '/home/trevor/.cache/pacaur/franz/src/franz-5.0.0-beta.17/node_modules/macos-notification-state/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/trevor/.node-gyp/10.2.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/trevor/.node-gyp/10.2.0', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/trevor/.node-gyp/10.2.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/trevor/.cache/pacaur/franz/src/franz-5.0.0-beta.17/node_modules/macos-notification-state', 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' ] make: Entering directory '/home/trevor/.cache/pacaur/franz/src/franz-5.0.0-beta.17/node_modules/macos-notification-state/build' CXX(target) Release/obj.target/notificationstate/lib/notificationstate.o In file included from ../lib/notificationstate.cc:1: /home/trevor/.node-gyp/10.2.0/include/node/node.h:53:10: fatal error: core.h: Arquivo ou diretório não encontrado #include "core.h" // NOLINT(build/include_order) ^~~~~~~~ compilation terminated. make: *** [notificationstate.target.mk:95: Release/obj.target/notificationstate/lib/notificationstate.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Linux 4.14.44-1-MANJARO gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /home/trevor/.cache/pacaur/franz/src/franz-5.0.0-beta.17/node_modules/macos-notification-state gyp ERR! node -v v10.2.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok

Kuchiriel commented on 2018-06-01 13:13 (UTC)

Please put a --prod flag in yarn install.

yarn install \ --silent \ --pure-lockfile \ --ignore-optional \ --link-duplicates \ --skip-integrity-check

Would be ideal.

venturieffect commented on 2018-05-12 23:21 (UTC)

I have the same error as Bab , using aurman but i'm on Italian layout with winkeys

RoDeLoPo commented on 2018-05-09 02:16 (UTC)

I have the same error as Bab below. Installing with aurman. Since the error mentions keyboard layout, if it helps, my layout is U.S. international with dead keys.

Bab commented on 2018-05-06 10:47 (UTC)

I'm trying to install this using trizen, but I'm getting the following:

error /tmp/trizen-bab/franz/src/franz-5.0.0-beta.17/node_modules/keyboard-layout: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments: 
Directory: /tmp/trizen-bab/franz/src/franz-5.0.0-beta.17/node_modules/keyboard-layout
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@10.0.0 | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/local/lib/node_modules/npm/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   '/tmp/trizen-bab/franz/src/franz-5.0.0-beta.17/node_modules/keyboard-layout/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/bab/.node-gyp/10.0.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/bab/.node-gyp/10.0.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/bab/.node-gyp/10.0.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/tmp/trizen-bab/franz/src/franz-5.0.0-beta.17/node_modules/keyboard-layout',
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' ]
make: Entering directory '/tmp/trizen-bab/franz/src/franz-5.0.0-beta.17/node_modules/keyboard-layout/build'
  CXX(target) Release/obj.target/keyboard-layout-manager/src/keyboard-layout-manager-linux.o
In file included from ../../nan/nan.h:192:0,
                 from ../src/keyboard-layout-manager.h:4,
                 from ../src/keyboard-layout-manager-linux.cc:1:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
               ^~~~~~~~
In file included from ../src/keyboard-layout-manager.h:4:0,
                 from ../src/keyboard-layout-manager-linux.cc:1:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                            ^
In file included from ../../nan/nan.h:49:0,
                 from ../src/keyboard-layout-manager.h:4,
                 from ../src/keyboard-layout-manager-linux.cc:1:
/home/bab/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/bab/.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
In file included from ../src/keyboard-layout-manager.h:4:0,
                 from ../src/keyboard-layout-manager-linux.cc:1:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                              ^
In file included from ../../nan/nan.h:49:0,
                 from ../src/keyboard-layout-manager.h:4,
                 from ../src/keyboard-layout-manager-linux.cc:1:
/home/bab/.node-gyp/10.0.0/include/node/node.h:165:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/bab/.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
In file included from ../src/keyboard-layout-manager.h:4:0,
                 from ../src/keyboard-layout-manager-linux.cc:1:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                              ^
In file included from ../../nan/nan.h:49:0,
                 from ../src/keyboard-layout-manager.h:4,
                 from ../src/keyboard-layout-manager-linux.cc:1:
/home/bab/.node-gyp/10.0.0/include/node/node.h:158:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/bab/.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
In file included from ../src/keyboard-layout-manager.h:4:0,
                 from ../src/keyboard-layout-manager-linux.cc:1:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
     ));
     ^
In file included from ../../nan/nan.h:49:0,
                 from ../src/keyboard-layout-manager.h:4,
                 from ../src/keyboard-layout-manager-linux.cc:1:
/home/bab/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/bab/.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
make: *** [keyboard-layout-manager.target.mk:97: Release/obj.target/keyboard-layout-manager/src/keyboard-layout-manager-linux.o] Error 1
make: Leaving directory '/tmp/trizen-bab/franz/src/franz-5.0.0-beta.17/node_modules/keyboard-layout/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Linux 4.16.6-1-ARCH
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/trizen-bab/franz/src/franz-5.0.0-beta.17/node_modules/keyboard-layout

j0nas commented on 2018-04-09 14:43 (UTC)

Just go to /usr/lib/node_modules/npm and run sudo npm install node-gyp. Now you should be able to install it again.

fgk commented on 2018-04-05 22:13 (UTC) (edited on 2018-04-05 22:19 (UTC) by fgk)

I am getting an error when trying to install with yaourt:

==> Starting build()...
yarn install v1.5.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-config-airbnb@14.1.0" has incorrect peer dependency "eslint@^3.15.0".
warning " > eslint-plugin-jsx-a11y@3.0.2" has incorrect peer dependency "eslint@^2.10.2 || 3.x".
warning " > eslint-plugin-react@6.10.3" has incorrect peer dependency "eslint@^2.0.0 || ^3.0.0".
[4/4] Building fresh packages...
[1/6] ⠂ macos-notification-state
[2/6] ⠂ windows-notification-state
[3/6] ⠂ windows-quiet-hours
[4/6] ⠂ @paulcbetts/cld
error An unexpected error occurred: "/tmp/yaourt-tmp-xxx/aur-franz/src/franz-5.0.0-beta.17/node_modules/@paulcbetts/cld: Command failed.
Exit code: 1
Command: sh
Arguments: -c node-gyp rebuild
Directory: /tmp/yaourt-tmp-xxx/aur-franz/src/franz-5.0.0-beta.17/node_modules/@paulcbetts/cld
Output:
internal/modules/cjs/loader.js:550
    throw err;
    ^

Error: Cannot find module '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
    at Function.Module._load (internal/modules/cjs/loader.js:475:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)




==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build franz.

Edit: Seems to be a problem with npm: https://github.com/npm/npm/issues/20163