Multipurpose-discord-bot icon indicating copy to clipboard operation
Multipurpose-discord-bot copied to clipboard

while using the sharded version i am getting errors

Open ghost opened this issue 3 years ago • 1 comments
trafficstars

What's your nodejs Version.

16.14.2

What's the version you downloaded the bot?

sharded_mongo version

Desktop (please complete the following information):

  • OS: Linux (Railway/Heroku Client)

Describe the bug

This is what I get in console.

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/mongoose
npm ERR!   mongoose@"^6.2.7" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer mongoose@"^5.11.14" from [email protected]
npm ERR! node_modules/goosecache
npm ERR!   goosecache@"^9.0.14" 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.

To Reproduce

Steps to reproduce the behavior e.g:

  1. Start the bot
  2. See error in console while building

Expected behavior

The bot code should succeed in building and successfully deploy, leading the bot to go online

ghost avatar Mar 19 '22 19:03 ghost

npm i --legacy-peer-deps

riciuuu avatar Mar 19 '22 22:03 riciuuu