node-casbin / prisma-adapter

Prisma adapter for Casbin
Apache License 2.0
29 stars 16 forks source link

update dependency to prisma v5? #51

Closed HavoStrean closed 1 year ago

HavoStrean commented 1 year ago

Issue

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: api.lajgjl.com@0.0.1 npm ERR! Found: @prisma/client@5.2.0 npm ERR! node_modules/@prisma/client npm ERR! @prisma/client@"^5.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @prisma/client@"^4.2.1" from casbin-prisma-adapter@1.3.0 npm ERR! node_modules/casbin-prisma-adapter npm ERR! casbin-prisma-adapter@"*" 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.

only support up to prisma v4.

casbin-bot commented 1 year ago

@nodece @Shivansh-yadav13

hsluoyz commented 1 year ago

@HavoStrean hi, can you make a PR?

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: