Vendicated / Vencord

The cutest Discord client mod

Home Page:https://vencord.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module '/home/xelph/.config/Vencord/dist/patcher.js' in EndeavourOS

HypheX opened this issue · comments

Content

Problem:

After installing Vencord through the interactive terminal program, discord fails to start, I don't even get a loading splash.
Running discord through the terminal yields the following error:

Error
$ discord
[A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module '/home/xelph/.config/Vencord/dist/patcher.js'
Require stack:
- /opt/discord/resources/app.asar/index.js
-
    at Module._resolveFilename (node:internal/modules/cjs/loader:1152:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:121488)
    at Module._load (node:internal/modules/cjs/loader:993:27)
    at c._load (node:electron/js2c/node_init:2:13801)
    at Module.require (node:internal/modules/cjs/loader:1240:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/opt/discord/resources/app.asar/index.js:1:1)
    at Module._compile (node:internal/modules/cjs/loader:1373:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
    at Module.load (node:internal/modules/cjs/loader:1215:32)
[35607:0625/200029.832256:ERROR:object_proxy.cc(576)] 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”
[35607:0625/200029.832426:ERROR:select_file_dialog_linux_portal.cc(286)] Failed to read portal version property

System:

  • EndeavourOS x86_64
  • Kernel: 6.9.6-arch1-1
  • Discord installed through extra/discord version 0.0.58-1.
  • Fresh install. Vencord worked fine before I re-installed today.
  • There are no packages other than EOS defaults, i3wm, and my own terminal utilities.

Other data

image

If I check the directory, the file mentioned in the error indeed does not exist.

image

Request Agreement

  • I have read the requirements for opening an issue above
commented

repair with installer

use our support channel if you need further help