Closed PoulpY2K closed 2 years ago
djs opus is peer dep, so install opus and voice first, then install discordx music
if you are not in our discord server, please join and ask for support in it. it's fast and easier to chat there.
After discussing it on Discord, this is not a discordx problem.
Maybe it would be a good thing to add a small line in the discordx/music README to tell mac M1 users to specifically install the discordjs/opus@0.6.0 version before discordx/music.
Thank you for you time and answer !
What happened?
After setting up my new dev environment on my Apple Mac M1, I cloned my project which uses
@discordx
. When I tried to runnpm install
, I got an error caused by@discordjs/opus
. After looking deeper into it, I found out that@discordx/music
uses@discordjs/opus@0.5.3
and support for ARM64 architecture only happens in@discordjs/opus@0.6.0
.It breaks the whole installation and can only be resolved by forcing the install of
@discordjs/opus@0.6.0
inside my own project.@discordjs/opus release page
I'm currently writing the PR to fix this issue.
Reproduction
ONLY REPRODUCIBLE ON MACOS M1 (ARM64)
1 - Install discordx via the create-discordx package.
2 - CD into the project
3 - Run
npm i @discordx/music
Package
@discordx/music
Version
Stable
Relevant log output
Code of Conduct