Vendicated / Vencord

The cutest Discord client mod
https://vencord.dev
GNU General Public License v3.0
8.51k stars 1.2k forks source link

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

Closed HypheX closed 2 months ago

HypheX commented 2 months ago

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. (/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:

Other data

image

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

image

Request Agreement

Vendicated commented 2 months ago

repair with installer

use our support channel if you need further help