Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing prism-media #88

Open
k2helix opened this issue Sep 19, 2021 · 2 comments
Open

Error when installing prism-media #88

k2helix opened this issue Sep 19, 2021 · 2 comments

Comments

@k2helix
Copy link

k2helix commented Sep 19, 2021

Issue:

I'm not being able to install prism-media as it returns the following error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @discordjs/[email protected]
npm ERR! node_modules/@discordjs/opus
npm ERR!   @discordjs/opus@"^0.6.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @discordjs/opus@"^0.5.0" from [email protected]
npm ERR! node_modules/prism-media
npm ERR!   prism-media@"*" from the root project
npm ERR!   prism-media@"^1.3.1" from @discordjs/[email protected]
npm ERR!   node_modules/@discordjs/voice
npm ERR!     @discordjs/voice@"^0.6.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @discordjs/[email protected]
npm ERR! node_modules/@discordjs/opus
npm ERR!   peerOptional @discordjs/opus@"^0.5.0" from [email protected]
npm ERR!   node_modules/prism-media
npm ERR!     prism-media@"*" from the root project
npm ERR!     node_modules/@discordjs/voice
npm ERR!       @discordjs/voice@"^0.6.0" from the root project

Steps to reproduce:

npm install prism-media

Further details:

  • Operating System: Windows 10
  • Node.js version: 16.8.0
@ysef05
Copy link

ysef05 commented Jul 27, 2023

Same issue

@k2helix
Copy link
Author

k2helix commented Jul 27, 2023

Same issue

I haven't had this issue for a long time now, but I don't remember if I did something to solve it. Maybe try with npm install --legacy-peer-deps? (it can cause breaking changes but could also fix it. If it breaks anything just remove the node_modules folder)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants