hardyscc / nestjs-dynamoose

Dynamoose module for Nest
MIT License
141 stars 24 forks source link

Peer dependency error with reflect-metadata #1049

Closed MickL closed 8 months ago

MickL commented 8 months ago

NestJS 10 allows reflect-metadata ^0.1.12 || ^0.2.0 but this module only allows 0.1.14 which results in an error:

npm ERR! Found: reflect-metadata@0.2.1
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.3
npm ERR!   node_modules/@nestjs/common
npm ERR!     @nestjs/common@"^10.3.3" from the root project
npm ERR!     peer @nestjs/common@"^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" from nestjs-dynamoose@0.5.7
npm ERR!     node_modules/nestjs-dynamoose
npm ERR!       nestjs-dynamoose@"^0.5.7" 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.12" from nestjs-dynamoose@0.5.7
npm ERR! node_modules/nestjs-dynamoose
npm ERR!   nestjs-dynamoose@"^0.5.7" from the root project
hardyscc commented 8 months ago

@MickL thanks! updated and released as 0.5.8