Discord -> Linux Settings ; crashes with Javascript TypeError

I might have either a similar or different issue with Discord, when I clicked on Linux Settings, It immediately crashed the program and give me this message. I don’t know if this is a CachyOS problem or a discord problem, if it is a discord problem, please forward the message to them.

If your issue is not that discord is complaining about needing to be updated then it is not the same issue.

How was discord installed?

i install discord though your repo, your cachyOS package installer.

I also keep it up to date though the CachyOS update pushes as well.

discord in in Arch’s [extra] repo.

Can we check?

sudo pacman -Syu

I’ve did the sudo pacman -Syu., saw alot of things that got updates but no discord update got pushed.

Then you should do your updates.
Discord has dependencies that could be related for example.
( And, in case it is relevant, partial upgrades are not supported. )

I ment to say that discord has no update that got pushed though the system, so i am on the latest version. I’ve changed my previous post.

And despite the single discord package being the most updated version you should still perform the entirety of your system upgrades.

I have updated discord, and have done all the updates till their is none available, I still have the error.

I even did another restart just in case, and the error still presist.

Hey, I just installed CachyOS too, and everything is updated. I installed Discord via the CachyOS package installer, but I’m getting the same error. Can anyone help?

This is my first foray into Linux, great start :slight_smile:

i’m on Linux mint and also have the same issue with discord and clicking the Linux settings option, so i don’t think it’s distro specific.
installed from their website as recommended.
this report came up on google when searching the issue.

thank god i’m not alone.

I have the same exact error. Same way to recreate, same numbers.

Ya I have this error too.

Same error.

Do you have to be so annoying about it?

I fixed the Discord issue. It seems the latest version of Discord (0.0.120) is broken so I reverted back one version.

Not sure if these steps are fully necessary but I uninstalled the AUR version and went to the flatpak version.

  1. sudo pacman -Rs discord # Remove the AUR version that CachyOS does by default
  2. sudo pacman -S flatpak #Install flatpaks
  3. sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo # Add repos for flathub
  4. flatpak install discord
  5. sudo flatpak update
    –commit=31ad25a0cef84ccd4ade60831ee9016d88615ae93af285fee35e596b1558dcd5
    com.discordapp.Discord # Reverts to version 0.0.119
  6. flatpak mask com.discordapp.Discord # prevents updates
  7. (Don’t run this until Discord fixes it in next update) flatpak mask --remove com.discordapp.Discord # allows for updates to continue again

This fixed my Discord install. I can open the settings again and not get the crash pop up now.

Nice first post.

It was the third time asking for a full upgrade and it had become apparently possible that a partial-upgrade may have been performed thus the reiteration that despite the single discord package being upgraded that was not what was asked nor the fullness of what is required.

Welcome,

As mentioned above the discord package that you would get ‘by default’ should be the Arch repository package so it would not be AUR.

So more than downgrading this is replacing the software source with another.
But does this mean that the current flatpak version is broken as well?

PS.

I am not able to test the discord package myself right now but the discord portion of ferdium-electron (and electron39) continues to appear working.

The latest version on flatpak was also broken. I originally uninstalled the Arch repo package thinking the flatpak version would be fixed but it was not so I just downgraded that since it was already installed. Could probably do the same on the Arch repo version but this works for me.

Good to know though.
As this points to something Discord did then .. because flatpak should be fully bundled with everything it needs.

Nice 3000th post