Can't install or run "npm install discord.js"
See original GitHub issueHey 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.js@10.0.1 requires a peer of node-opus@^0.2.1 but none was installed. npm WARN discord.js@10.0.1 requires a peer of opusscript@^0.0.1 but none was installed. npm WARN diana@1.0.0 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!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
I can't Install Discord.js · Issue #110 - GitHub
json file where you are attempting to install the library. The first command will create that file for you using the information you...
Read more >how to install discord.js to your node.js - Stack Overflow
To install node-gyp on windows the easiest solution is to simply run npm install --global --production windows-build-tools then try the ...
Read more >Installing Node.js - discord.js Guide
With the terminal open, run the node -v command to make sure you've successfully installed Node.js. If it outputs v16.9.0 or higher, great!...
Read more >discord.js - npm
Start using discord.js in your project by running `npm i discord.js`. ... npm install discord.js yarn add discord.js pnpm add discord.js ...
Read more >How to install Discord JS for Bot development - YouTube
This is a beginner tutorial explaining the process of installing Discord. JS through NPM, the Node programming language's package manager.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We’re planning on changing this. 👍
just run