Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

bug: getting an error while installing `@asgardeo/react` with `npm`

Open
#269 3 comments 0 reactions 1 assignee View on GitHub

@kavindadimuthu is already working on this.

Since Dec 1, 2025.

Assessment

This issue has not been assessed yet.

Description

@asgardeo/react Severity/Major Type/Bug
Description

Getting the following error when installing @asgardeo/react with npm.

[!IMPORTANT]
Please check the @asgardeo/nextjs as well and verify.

asgardeo-react % npm install @asgardeo/react
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: asgardeo-react@0.0.0
npm error Found: @types/react@19.2.7
npm error node_modules/@types/react
npm error   dev @types/react@"^19.2.5" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @types/react@"19.1.5" from @asgardeo/react@0.6.12
npm error node_modules/@asgardeo/react
npm error   @asgardeo/react@"*" 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.
npm error
npm error
npm error For a full report see:
npm error /Users/wso2/.npm/_logs/2025-11-29T05_49_10_143Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/wso2/.npm/_logs/2025-11-29T05_49_10_143Z-debug-0.log
asgardeo-react % npm list react

[!Note]
This seems to be working with pnpm somehow.

Steps to Reproduce
  • Create a vite React app
  • Install the @asgardeo/react with npm
Please select the area the issue is related to

@asgardeo/react

Version

0.6.12

Environment Details (with versions)

No response

Reporter Checklist
  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have tested the issue on the latest version of the package.
Dominant language
TypeScript
Stars
18
Forks
67
Avg merge
4h 6m
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from asgardeo/javascript

All issues in asgardeo/javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.