AtlantaBot icon indicating copy to clipboard operation
AtlantaBot copied to clipboard

Installing Problem unable to resolve dependency tree

Open Gercekefsane opened this issue 3 years ago • 3 comments

Hello, When you try to install you will get this error. How can I fix it ?

`PS C:\Users\Administrator\Desktop\atlanta1> npm install --production npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/discord.js npm ERR! discord.js@"discordjs/discord.js" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer discord.js@"^12.0.0" from [email protected] npm ERR! node_modules/discord-paginationembed npm ERR! discord-paginationembed@"^2.1.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. npm ERR! npm ERR! See C:\Users\Administrator\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Local\npm-cache_logs\2021-09-06T16_06_34_842Z-debug.log`

Gercekefsane avatar Sep 06 '21 16:09 Gercekefsane

Clone of issue: https://github.com/Androz2091/AtlantaBot/issues/524

SickProdigy avatar Sep 07 '21 01:09 SickProdigy

4.11 doesn't have this dependency problem. But has some others that can be ignored if you'd like to try it. I have tested pretty well. And works out of the box. Looking for a fix for this issue myself on 4.12.

SickProdigy avatar Sep 09 '21 02:09 SickProdigy

Enter npm install --force and it should fix the problem!

S1mp1yDucky avatar Nov 13 '21 18:11 S1mp1yDucky