Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#269 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@kavindadimuthu 已经在做这个了。

开始于 2025年12月1日。

评估

这个 Issue 还没有评估数据。

描述

@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.
主要语言
TypeScript
星标
18
派生
67
平均合并
4 小时 6 分钟
30 天内合并 PR
13

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

asgardeo/javascript 的其他 Issue

查看 asgardeo/javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。