Hey guys. So I am having some trouble trying to create a personal discord bot because when I run the cmd prompt and do "npm install discord.js" I get some errors.
+-- UNMET PEER DEPENDENCY node-opus@^0.2.1
`-- UNMET PEER DEPENDENCY opusscript@^0.0.1
npm WARN discord.[email protected] requires a peer of node-opus@^0.2.1 but none was installed.
npm WARN discord.[email protected] requires a peer of opusscript@^0.0.1 but none was installed.
npm WARN [email protected] No repository field.
I've tried googling this and looking at articles but nothing seems to do anything. I did "npm init" and "npm i --save discord.js --no-optional" but it didn't do anything and I couldn't run it. Halp!
if you don't need music these can be safely ignored.
I would like to use music. @macdja38
just run
npm i discord.js opusscript
npm i -g ffmpeg-binaries
These dependencies take almost no storage -- why wouldn't these just be included?
We're planning on changing this. 馃憤
any update on this?
Most helpful comment
We're planning on changing this. 馃憤