Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持react18.2.0版本吗 #383

Open
Jhh910 opened this issue Jun 27, 2024 · 1 comment
Open

不支持react18.2.0版本吗 #383

Jhh910 opened this issue Jun 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Jhh910
Copy link

Jhh910 commented Jun 27, 2024

tdesign-mobile-react 版本

安装时出错

重现链接

No response

重现步骤

安装npm i tdesign-mobile-react
报错:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"18.2.0" from the root project
npm ERR! peer react@">=16.13.1" from [email protected]
npm ERR! node_modules/tdesign-mobile-react
npm ERR! tdesign-mobile-react@"" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.3.1" from [email protected]
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@">=16.13.1" from [email protected]
npm ERR! node_modules/tdesign-mobile-react
npm ERR! tdesign-mobile-react@"
" 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.
npm ERR!
npm ERR! See C:\Users\87031\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!

期望结果

No response

实际结果

No response

框架版本

react(18.2.0)

浏览器版本

No response

系统版本

win11

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @Jhh910,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants