@discordjs/opus issue when rebuilding for electron
ERROR:
I rebuilt @discordjs/opus for electron using electron-rebuild and the app is searching for Opus.node in the wrong directory. The prebuild generated by the rebuild process is called .\node_modules@discordjs\opus\prebuild\electron-v25.7-napi-v3-win32-x64-unknown-{libc_version}. Meanwhile the app is searching in "unkown-unknown"
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!opus version 0.9
node version 18.16.1
Probably reinstall opus and see what that does
Tried that multiple times and it’s still the same
Deleted node_modules and ran npm install again