Muffoi
DIAdiscord.js - Imagine an app
•Created by Muffoi on 5/16/2025 in #djs-voice
Electron renderer crashes after importing @discordjs/voice
In my electron project I have the renderer set up as below:
Everything works fine until I run
require("@discordjs/voice");
(also tried this in DevTools console), when the whole window turns black and DevTools says
DevTools was disconnected from the page. Once page is reloaded, DevTools will automatically reconnect.I have looked at Electron docs and there it says that DevTools disconnecting signalizes a V8 crash. With
--enable-logging
Electron flag, the only thing printed out in console is:
generateDependencyReport()
output:
How do I solve this?6 replies