notiz-dev / nestjs-prisma

Easy Prisma support for your NestJS application
https://nestjs-prisma.dev
MIT License
587 stars 50 forks source link

Peer Dependency issues for @nestjs/common@"^10.0.0" #60

Closed BayBreezy closed 1 year ago

BayBreezy commented 1 year ago

Hello,

I tried installing with the updated version of Nestjs but it failed.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: my-app@0.0.1
npm ERR! Found: @nestjs/common@10.0.1
npm ERR! node_modules/@nestjs/common
npm ERR!   @nestjs/common@"^10.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^7.0.0 || ^8.0.0 || ^9.0.0" from nestjs-prisma@0.20.0
npm ERR! node_modules/nestjs-prisma
npm ERR!   nestjs-prisma@"*" from the root project
matteoxplo commented 1 year ago

Same problem and the install with the "nest add" command is not working too

▹▹▹▸▹ Package installation in progress... ☕
Failed to execute command: npm install --save nestjs-prisma@latest
✖ Package installation in progress... ☕
Unable to install library nestjs-prisma because package did not install. Please check package name.
marcjulian commented 1 year ago

Please try out the latest dev release

npm i nestjs-prisma@0.21.0-dev.2
BayBreezy commented 1 year ago

Everything works fine when I use yarn instead of npm.. think I will be using yarn from this point forward

marcjulian commented 1 year ago

This has been released with 0.21.0

BayBreezy commented 1 year ago

Thanks for the hard work :)