0x467 / nestjs-telegraf

🤖 Powerful Nest module for easy and fast creation Telegram bots
https://nestjs-telegraf.0x467.com
MIT License
481 stars 84 forks source link

Issue with reflect-metadata@0.2.2 #1176

Closed twocolors closed 2 weeks ago

twocolors commented 3 months ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: test@0.0.1
npm ERR! Found: reflect-metadata@0.2.2
npm ERR! node_modules/reflect-metadata
npm ERR!   reflect-metadata@"^0.2.0" from the root project
npm ERR!   peer reflect-metadata@"^0.1.12 || ^0.2.0" from @nestjs/common@10.3.7
npm ERR!   node_modules/@nestjs/common
npm ERR!     @nestjs/common@"^10.0.0" from the root project
npm ERR!     peer @nestjs/common@"^9.0.0 || ^10.0.0" from nestjs-telegraf@2.7.0
npm ERR!     node_modules/nestjs-telegraf
npm ERR!       nestjs-telegraf@"*" from the root project
npm ERR!     5 more (@nestjs/core, @nestjs/microservices, ...)
npm ERR!   3 more (@nestjs/core, @nestjs/microservices, @nestjs/websockets)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer reflect-metadata@"^0.1.13" from nestjs-telegraf@2.7.0
npm ERR! node_modules/nestjs-telegraf
npm ERR!   nestjs-telegraf@"*" 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!
flamfiree commented 3 months ago

This video helped me: Npm ERR code ERESOLVE react

exact01 commented 1 month ago

This video helped me: Npm ERR code ERESOLVE react

this is cringe

nksmnf commented 1 month ago

up

He2lium commented 1 month ago

I have the same problem

0x467 commented 2 weeks ago

Fixed in https://github.com/0x467/nestjs-telegraf/commit/9c0286c23c707f3366f670be3c91d61758186157