digikare / nestjs-prom

A prometheus module for nestjs
160 stars 54 forks source link

Fix compatibility with NestJS >= 8.0.0 #69

Open schuerg opened 2 years ago

schuerg commented 2 years ago

NestJS >= 8.0.0 is not compatible with @digikare/nestjs-prom@1.0.0

NPM says:

npm ERR! Found: @nestjs/common@8.2.2
npm ERR! node_modules/@nestjs/common
npm ERR!   @nestjs/common@"^8.2.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^6.0.0 || ^7.0.0" from @digikare/nestjs-prom@1.0.0
npm ERR! node_modules/@digikare/nestjs-prom
npm ERR!   @digikare/nestjs-prom@"^1.0.0" from the root project
is-blackhole commented 2 years ago

Same issue with nest 8 compatibility, can you plz support nest 8?

pumano commented 1 year ago

@workfel could you help with pull requests with updated dependencies and adding support for latest nestjs support?

bugok commented 11 months ago

Looks like https://github.com/digikare/nestjs-prom/pull/79 is supposed to address this.