A fatal javascript error occured
when launching discord.
Search Criteria
Package Details: discord_arch_electron 0.0.78-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/discord_arch_electron.git (read-only, click to copy) |
---|---|
Package Base: | discord_arch_electron |
Description: | Discord using system provided electron for increased security and performance |
Upstream URL: | https://discord.com |
Keywords: | chat discord discord-stable discordapp electron video voice |
Licenses: | custom |
Conflicts: | discord |
Provides: | discord |
Submitter: | johnnyapol |
Maintainer: | Zoddo (Thaodan, SunRed) |
Last Packager: | Zoddo |
Votes: | 197 |
Popularity: | 4.19 |
First Submitted: | 2020-05-19 23:51 (UTC) |
Last Updated: | 2024-12-17 20:22 (UTC) |
Dependencies (9)
- electron
- libxss
- asar (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- libappindicator-gtk3 (optional) – Systray indicator support
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – Pulseaudio support
- python-capstone (optional) – Required for Krisp patcher
- python-pyelftools (python-pyelftools-gitAUR) (optional) – Required for Krisp patcher
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR) (optional) – Open files
Required by (25)
- beautiful-discord-git (requires discord)
- cia-accesa (requires discord)
- clonehero-ptb (requires discord) (optional)
- devbook-bin (requires discord)
- discord-update-skip-git (requires discord)
- discordrpc (requires discord) (optional)
- discordupdater (requires discord)
- horizonxi-launcher-bin (requires discord) (optional)
- jfcord-appimage (requires discord) (optional)
- mbcord-appimage (requires discord) (optional)
- open-hexagon-git (requires discord) (optional)
- openasar-bin (requires discord) (optional)
- openasar-git (requires discord) (optional)
- openasar-install (requires discord)
- overlayed (requires discord) (optional)
- overlayed-bin (requires discord) (optional)
- overlayed-git (requires discord) (optional)
- plasticity-bin (requires discord) (optional)
- plasticity-bin-unstable (requires discord) (optional)
- premid (requires discord) (optional)
- Show 5 more...
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 39 Next › Last »
zangoku commented on 2022-02-27 23:55 (UTC)
SunRed commented on 2022-02-27 17:20 (UTC)
This package should depend on electron16 (and better yet back to electron15 since 16 breaks wayland support for discord) instead of electron.
Zoddo commented on 2022-02-27 17:19 (UTC)
I can confirm what Spixmaster experienced.
Using electron16
fixes the issue.
Spixmaster commented on 2022-02-27 15:20 (UTC)
With electron version 17.1.0, Discord crashes immediately with error Error: Cannot find module 'discord_desktop_core'
.
Kyuunex commented on 2022-02-25 10:44 (UTC)
those who are getting crashes when trying to watch Go Live streams, can disable "OpenH264" setting in "Voice & Video" section to fix it.
ChrisLane commented on 2022-02-22 09:40 (UTC) (edited on 2022-02-22 09:40 (UTC) by ChrisLane)
I'm unable to launch discord with the "--enable-features=UseOzonePlatform --ozone-platform=wayland" flags for native wayland support since the move back to the main "electron" 16 package.
I'm guessing this is an issue on the electron/electron package side but since I don't have any other electron apps I haven't been able to confirm that.
Output:
Discord 0.0.17
[14412:0222/093726.716387:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[14412:0222/093726.716398:ERROR:select_file_dialog_impl_portal.cc(243)] Failed to read portal version property
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/chris/.config/discord/0.0.17/modules
[Modules] Module installed file path: /home/chris/.config/discord/0.0.17/modules/installed.json
[Modules] Module download path: /home/chris/.config/discord/0.0.17/modules/pending
[14412:0222/093726.725193:ERROR:cursor_loader.cc(114)] Failed to load a platform cursor of type kNull
[14453:0100/000000.746499:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is egl, ANGLE is
zsh: segmentation fault (core dumped) discord
[14453:0100/000000.186355:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
antsif-a commented on 2022-02-21 13:38 (UTC)
Last update doesn't depend on electron15
but uses it in /usr/bin/discord
, any way to fix it?
SilverMight commented on 2022-02-20 22:40 (UTC)
Any way to get BetterDiscord to work with this?
Freso commented on 2022-02-20 09:41 (UTC)
You forgot to update https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=discord_arch_electron#n49 when you "fixed" the electron dependency. :)
Pinned Comments
SunRed commented on 2024-06-09 20:34 (UTC)
After a chat with @Zoddo and me just taking too long to come back to this, there should everything now be included that was in my old
discord-electron
package some migrated from (Krisp patcher, Wayland, autostart fix). Additionally I replaced the scrappy rizin patcher with a Python script someone from the nix community kindly made available.Instead of checking against a checksum to know whether the Krisp binary was patched the script is run on every start of the client that results in slightly longer start times but has the advantage that we don't have to update the package if Discord ever silently updates the binary between client updates over their modules api.
Cheers
Zoddo commented on 2022-09-15 17:54 (UTC) (edited on 2023-03-31 17:24 (UTC) by Zoddo)
Starting with 0.0.26-1 (2023-03-31):
Starting with 0.0.20-1 (2022-09-15):
$XDG_CONFIG_HOME/discord-flags.conf
: this works likeelectron-flags.conf
, you can set in this file the command line flags you want to pass to electron when running Discord (there are some useful flags in the wiki, especially if you are experiencing lag in the Discord UI).FAQ
Discord requires an update, but this package isn't yet updated
Check the wiki.
The Discord UI is lagging
Try to add the flags recommended in the wiki in
$XDG_CONFIG_HOME/discord-flags.conf
.Krisp not working
This is an issue that will likely never be fixed for this package. The Krisp module checks if Discord binaries are signed by Discord, which is not the case with this package.
See this comment and this GitHub issue for more details and possibles workarounds.