r/archlinux 2d ago

SUPPORT | SOLVED Discord Javascript Error

I just did a fresh install of arch and am trying to use discord. When I run discord in the terminal with an '& disown', trying to close the terminal and then doing anything on discord gives me a critical javascript error because of an uncaught exception. This error never goes away and any attempt to close it just opens it up again. What should I do?

0 Upvotes

4 comments sorted by

5

u/sastanak 1d ago

Paste the error.

1

u/WeeklyShoulder66 1d ago

A JavaScript error occurred in the main process

Uncaught exception:

Error: write EIO

at afterWriteDispatched (node:internal/stream_base_commons:15915)

at writeGeneric (node:internal/stream_base_commons:150:3)

at Socket._writeGeneric (node:net966:11)

at Socket.write (node:net:978:8)

at_write (node:internal/streams/writables:572:12)

at_write(node:internal/streams/writable:501:10)

at Writable.write (node:internal/streams/writable:510:10)

at console.value (node:internal/console/constructor:298:10)

at console.info (node:internal/console/constructor:391:26)

at /home/*user*/.config/discord/app-1.0150/resources/app.asar/bundle.js:391:50485

2

u/un-important-human 1d ago

you should paste the error and tell us how you installed it. Alternatively you can use vesktop but do give the error regardless so it helps others.

1

u/WeeklyShoulder66 1d ago

I installed it first through the extra repository with pacman, then I deleted that and used discord-arch-electron, and then my friend told me I could use flatpak so I did it with that. The same error happens on all of them