admin管理员组文章数量:1122846
1. installation cmd -> npx create-react-app testing-app
Creating a new React app in D:\Karthi\Github\React_Project_Jan25\testing-app.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
added 1323 packages in 1m
267 packages are looking for funding
run npm fund
for details
Installing template dependencies using npm...
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@"^19.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.0.0" from @testing-library/[email protected]
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@"^13.0.0" 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!
npm ERR! For a full report see:
npm ERR! C:\Users\kkarthikairasu\AppData\Local\npm-cache_logs\2025-01-06T07_24_07_069Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\kkarthikairasu\AppData\Local\npm-cache_logs\2025-01-06T07_24_07_069Z-debug-0.log
npm install --no-audit --save @testing-library/jest-dom@^5.14.1 @testing-library/react@^13.0.0 @testing-library/user-event@^13.2.1 web-vitals@^2.1.0
failed
本文标签:
版权声明:本文标题:reactjs - While installing react demo app, packages installed, but @testing-libraryreact@^13.0.0 failed issue? Any Solution - St 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736282670a1926718.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论