Open memL0rz opened 3 months ago
I have tried compiling and running and I have had no problems, I am going to see what happens from a virtual machine from 0
I have tried compiling and running and I have had no problems, I am going to see what happens from a virtual machine from 0
Thanks for the reply. Yeah that would be nice. It looks like a connection is established and started correctly. Here are the Logs from Discord:
[arRPC] arRPC v3.1.0
(node:1643) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
[arRPC > bridge] listening on 1337
[arRPC > ipc] listening at /var/run/xdg/fabian/discord-ipc-0
[arRPC > websocket] listening on 6463
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
[1644:0623/232759.295780:ERROR:interface_endpoint_client.cc(702)] Message 6 rejected by interface blink.mojom.WidgetHost
[1644:0623/232759.295806:ERROR:interface_endpoint_client.cc(702)] Message 7 rejected by interface blink.mojom.WidgetHost
(node:1644) UnhandledPromiseRejectionWarning: Error: An object could not be cloned.
at t.ipcRendererInternal.send (node:electron/js2c/renderer_init:2:10956)
at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:2:10428)
(Use `DiscordBSD --trace-warnings ...` to show where the warning was created)
(node:1644) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[arRPC > bridge] web connected
It seems that the problem is in the operation of the ARRPC
bookstore that is responsible for making that part work. Very possibly there was a change in some commitment
i really dont have experience with JS but i tried just for fun to run Discord without RPC and i think the Discord client is the problem itself:
.local/bin/discord
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module '/home/fabian/.local/share/discordbsd/RPC/src'
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.14.0
(node:21372) UnhandledPromiseRejectionWarning: Error: An object could not be cloned.
at IpcRendererInternal.send (node:electron/js2c/renderer_init:2:11234)
at IpcRendererInternal.<anonymous> (node:electron/js2c/renderer_init:2:10729)
(Use `DiscordBSD --trace-warnings ...` to show where the warning was created)
(node:21372) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Which RPC Plugin do you use for NeoVim? it also possible the RPC Plugin is broken. i mean the arRPC is running
The problem is not the plugin, since I tried running arrpc by hand and running it from discord web and it also failed there Very possibly discord has made some change that causes arrpc to fail
Hi,
First of all, thank you for this Discord client.
My problem: I have been trying for days to get RPC running, but it doesn't seem to work.
I tried building it from source, but I encountered this error (I've never touched JS before):
uname -r:
14.1-RELEASE
Then I downloaded the binary (0.0.54), and it worked, but RPC did not.
It would be really cool if you could help me out.
Best regards, Fab1anDev