When I install node-opus
and discord.js
on Heroku and then run npm list
via heroku run bash
I get the following warning:
npm ERR! peer dep missing: node-opus@^0.2.7, required by discord.js@11.4.2
How can I resolve this?
Here is my package.json
:
{
"name": "PrzegrywBOT",
"description": "PrzegrywBOT",
"version": "2.0.0",
"engines": {
"node": "10.15.0"
},
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"dependencies": {
"cheerio": "^1.0.0-rc.2",
"discord.js": "^11.4.2",
"ffmpeg": "0.0.4",
"ffmpeg-binaries": "^4.0.0",
"node-opus": "^0.3.1",
"request": "^2.88.0",
"simple-youtube-api": "^5.1.1",
"superagent": "^4.1.0",
"ytdl-core": "^0.29.1"
}
}