Skip to content

Conversation

LoganHolt
Copy link
Contributor

@LoganHolt LoganHolt commented Apr 23, 2025

The following occurs when trying to install nest-authz in a Nest.js 10.0.0 project.

❯ npm i nest-authz
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/reflect-metadata
npm error reflect-metadata@"^0.2.0" from the root project
npm error peer reflect-metadata@"^0.1.12 || ^0.2.0" from @nestjs/[email protected]
npm error node_modules/@nestjs/common
npm error @nestjs/common@"^10.0.0" from the root project
npm error peer @nestjs/common@"^9.0.3 || ^10.0.0" from [email protected]
npm error node_modules/nest-authz
npm error nest-authz@"" from the root project
npm error 5 more (@nestjs/core, @nestjs/microservices, ...)
npm error 3 more (@nestjs/core, @nestjs/microservices, @nestjs/websockets)
npm error
npm error Could not resolve dependency:
npm error peer reflect-metadata@"^0.1.13" from [email protected]
npm error node_modules/nest-authz
npm error nest-authz@"
" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

@hsluoyz
Copy link
Member

hsluoyz commented Apr 23, 2025

@nodece @Shivansh-yadav13 please review

@CLAassistant
Copy link

CLAassistant commented Apr 23, 2025

CLA assistant check
All committers have signed the CLA.

@hsluoyz hsluoyz closed this Apr 23, 2025
@hsluoyz hsluoyz reopened this Apr 23, 2025
@hsluoyz hsluoyz changed the title chore: loosen reflect-metadata peerDependency for Nest v10 feat: loosen reflect-metadata peerDependency for Nest v10 Apr 23, 2025
@hsluoyz hsluoyz merged commit 7c0e2b8 into node-casbin:master Apr 23, 2025
12 of 22 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 23, 2025
# [2.17.0](v2.16.0...v2.17.0) (2025-04-23)

### Features

* loosen reflect-metadata peerDependency for Nest v10 ([#178](#178)) ([7c0e2b8](7c0e2b8))
Copy link

🎉 This PR is included in version 2.17.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants