After upgrading electron to 12.0.2, rockatchat-desktop doesn't work anymore, even after reinstalling the package against the new electron version.
However, if doing yarn/yarn start from the Github repository (at the same commit), it works.
Git Clone URL: | https://aur.archlinux.org/rocketchat-desktop.git (read-only, click to copy) |
---|---|
Package Base: | rocketchat-desktop |
Description: | Rocket.Chat Native Cross-Platform Desktop Application via Electron |
Upstream URL: | https://github.com/RocketChat/Rocket.Chat.Electron |
Keywords: | chat client electron rocket rocketchat |
Licenses: | MIT |
Submitter: | sum01 |
Maintainer: | buzo |
Last Packager: | buzo |
Votes: | 30 |
Popularity: | 0.90 |
First Submitted: | 2017-10-23 16:52 (UTC) |
Last Updated: | 2024-11-13 19:58 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 18 Next › Last »
After upgrading electron to 12.0.2, rockatchat-desktop doesn't work anymore, even after reinstalling the package against the new electron version.
However, if doing yarn/yarn start from the Github repository (at the same commit), it works.
Updated to 3.0.1. Had some weird behaviour with the application crashing when switching spellchecking languages, but now I am unable to reproduce.
Electron Docs > Does the spellchecker use any Google services?
I was not able to build this package at first.
yarn failed to spawn $BUILDDIR/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.11/node_modules/app-builder-bin/linux/x64/app-builder
with an EACCES error.
I could solve it fairly simple by simply doing a
chmod u+x $BUILDDIR/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.11/node_modules/app-builder-bin/linux/x64/app-builder
I thought I'd share this workaround if anyone else runs in to this problem.
@djinn Obviously not a problem of the package. Won't fix.
Updated dependency to electron
instead, seems to work now and tray doesn't crash the application. Check if it works for you now.
⨯ EPERM: operation not permitted, copyfile '/usr/lib/electron7/chrome-sandbox' -> '/var/cache/private/pikaur/build/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.11/dist/linux-unpacked/chrome-sandbox' stackTrace=
Please fix it
(makedepends) nodejs-lts-erbium instead of nodejs. Build broken with latest version.
Builds fine with current nodejs
(14.x) from community repo here.
Hello, I have this error:
[!] (plugin babel) Error: No "exports" main resolved in /var/tmp/pamac-build-imx/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.9/node_modules/@babel/helper-compilation-targets/package.json
src/main.js
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in /var/tmp/pamac-build-imx/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.9/node_modules/@babel/helper-compilation-targets/package.json
at applyExports (internal/modules/cjs/loader.js:491:9)
at resolveExports (internal/modules/cjs/loader.js:507:23)
at Function.Module._findPath (internal/modules/cjs/loader.js:635:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:953:27)
at Function.Module._load (internal/modules/cjs/loader.js:842:27)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/var/tmp/pamac-build-imx/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.9/node_modules/@babel/preset-env/lib/debug.js:8:33)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
[14:58:06] 'build:bundle' errored after 399 ms
[14:58:06] Error in plugin "gulp-execa"
Message:
Command failed with exit code 1: rollup -c
Stack:
Error: Command failed with exit code 1: rollup -c
at makeError (/var/tmp/pamac-build-imx/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.9/node_modules/execa/lib/error.js:58:11)
at handlePromise (/var/tmp/pamac-build-imx/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.9/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async execCommand (/var/tmp/pamac-build-imx/rocketchat-desktop/src/Rocket.Chat.Electron-2.17.9/node_modules/gulp-execa/build/src/exec.js:21:8)
[14:58:06] 'build' errored after 401 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERREUR : Une erreur s’est produite dans build().
Abandon…
@Blackbot No worries. Just make sure you install all the dependencies properly and reachable in your PATH
.
Pinned Comments