Sank6 / Discord-Bot-List

Just another botlist for discord
GNU General Public License v3.0
212 stars 184 forks source link

npm install error #591

Closed poldis closed 2 years ago

poldis commented 2 years ago

Hello, whenever i try running npm i i get an error saying

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: discordbotlist@3.0.0
npm ERR! Found: discord.js@12.5.3
npm ERR! node_modules/discord.js
npm ERR!   discord.js@"^12.5.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer discord.js@"github:discordjs/discord.js#master" from klasa@0.5.0
npm ERR! node_modules/klasa
npm ERR!   klasa@"^0.5.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I also cant install discord.js 12.5.3 (npm install discord.js@12.5.3) manually.

I used git clone https://github.com/Sank6/Discord-Bot-List.git to download the repo. I'm on Windows 10 64 bit. How do I fix this?

poldis commented 2 years ago

Fixed it, changed my node version to 14.0.0.

LeTeenoR commented 2 years ago

try these:

npm install

npm install discord

npm install discord.js

npm install env

Zaid-maker commented 2 years ago

Close the issue if it's solved.

On Tue, 5 Oct 2021, 4:40 pm LeTeeno, @.***> wrote:

try these: npm install npm install discord npm install discord.js npm install env

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/591#issuecomment-934329981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNAAXAYR75LBG2ZJ3RLUFLP3FANCNFSM5EXR4SYQ .