Skip to content
Replit Package Operation Failed
Profile icon
Nithen

im trying to run this discord bot, but it keeps showing that the package operation failed... all of these commands were previously used by other bots that i made, and they worked perfectly fine.
what is the problem here??

You are viewing a single comment. View All
Profile icon
[deleted]

If we take a look at the error message, it says: Because no versions of replit match >3.1.0,<4.0.0 and replit (>=3.1.0,<4.0.0) requires on Flask (>=2.0.0,<3.) ... ... So, because tic depends on both flask (^1.1.2) and replit (^3.1.0), version solving failed.

This is a big clue to what happened, and it means that because no versions of replit match, it requires a different Flask version. Because tic(what the heck is tick?) depends on both flask (^1.1.2) and replit (^3.1.0). In simple terms, Flask isn't giving replit the version replit requires, and so replit exits.