telegraf / telegraf-session-redis

Redis session middleware for Telegraf
MIT License
50 stars 25 forks source link

Update to telegraf 4.* #29

Open imdkbj opened 3 years ago

imdkbj commented 3 years ago

Telegraf has gone with new big release and thus needs to be updated.

manuelscurti commented 3 years ago

Are you experiencing any issue with the new major release of Telegraf in combination with this library?

whatisgoingon20 commented 3 years ago

@manuelscurti npm dosent want to install telegraf-session-redis on new telegra 4.*

npm install telegraf-session-redis npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: crm-manager-backend@1.0.0 npm ERR! Found: telegraf@4.3.0 npm ERR! node_modules/telegraf npm ERR! telegraf@"^4.3.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer telegraf@"^3.9.0" from telegraf-session-redis@5.1.0 npm ERR! node_modules/telegraf-session-redis npm ERR! telegraf-session-redis@"*" 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 /home/aff-soft/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /.npm/_logs/2021-06-10T18_14_04_911Z-debug.log

Rysakov1986 commented 3 years ago

use npm install telegraf-session-redis --force

ajimix commented 2 years ago

I'm also looking for an update as our company doesn't allow to use --force as it's considered a bad practice

MKRhere commented 1 year ago

If this thread is still relevant, check out: https://github.com/telegraf/session