DEV Community

Discussion on: How to set up a Discord music bot (Updated December 2021)

Collapse
 
pforciol profile image
Pierre

Hello ! I am really embarrased because I can't install node-opus... I have Python 2.7, but nothing. Same error as Madmouseked, npm tells me something about node-gyp.

Any idead ? Thank you 😊

Collapse
 
galnir profile image
Nir

Try to google that specific error, I have no idea what it can be :/

Collapse
 
supervoja profile image
Vojislav Sibinovic

Did you ever find a solution? I am having the same problem

Collapse
 
galnir profile image
Nir

If you have python 2.7 and everything that is required installed, the problem is probably about not running the terminal as admin or sudo(if you're using linux based OS).
Try to open the cmd(if windows) as admin, or run "sudo npm i node-opus" if on linux OS