AtlantaBot
AtlantaBot copied to clipboard
Installing Problem unable to resolve dependency tree
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`
Clone of issue: https://github.com/Androz2091/AtlantaBot/issues/524
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.
Enter npm install --force
and it should fix the problem!