Hi im trying to use discordjs/voice but my installation of djs opus fails everytime due to the post install script. im using discord.js v14, djs/voice v0.14.0 and djs/opus v0.8.0. The post install script is trying to install a opus version with node-v115 which doesnt exist after i checked the release section. why is that? is there no way to fix or manually change it or whatever that is used to determine this? my node version is 20.0.0
#discordjs/opus trying to download invalid opus
22 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
What command are you running to install the packages?
pnpm install ?
it works in codespaces
but doesnt work on my local device, which is windows 10
and the codespace is linux iirc
It's unclear from the image you provided what is actually happening. Are you installing the packages? Or running the program and packages are already installed?
i cleared my node_modules and am reinstalling everything
i cloned my repo to my computer and was gonna install the package. before that i always used github codespace, the issue never occured there
is that really gonna solve it. the above error spawned from resource not found. the installer is trying to download an invalid version of opus. and i do have vs build packages downloaded
20.0.0
🤔
Try using an LTS version
Like 18.16.0
Not sure if the package has been tested with such a new version
oh it workd with lts
Well yay its working now for you 