infinitered / ignite

Infinite Red's battle-tested React Native project boilerplate, along with a CLI, component/model generators, and more!
MIT License
17.48k stars 1.38k forks source link

Dependency Conflict: Unable to Resolve React Version with React-Test-Renderer During Installation #2769

Closed yashdesai87 closed 3 weeks ago

yashdesai87 commented 3 weeks ago

Describe the bug

Merely running npx ignite-cli@latest new guardian-mobile with all the default options selected causes this issue.

Ignite version

9.9.1

Additional info

System platform darwin
arch arm64
cpu 8 cores Apple M2
directory htdocs /Users/user/htdocs

JavaScript (and globally-installed packages) node 21.7.1 /Users/user/Library/Application Support/Herd/config/nvm/versions/node/v21.7.1/bin/node npm 10.5.0 /Users/user/Library/Application Support/Herd/config/nvm/versions/node/v21.7.1/bin/npm
corepack 0.25.2
npm 10.5.0
yarn - not installed
pnpm - not installed
bun - not installed
expo - not installed

Ignite ignite-cli 9.9.1 /Users/user/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite
ignite src build /Users/user/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build

Android java - not installed android home - undefined

iOS xcode 15.4
cocoapods Not installed

Tools git git version 2.39.3 (Apple Git-146) /usr/bin/git

frankcalise commented 3 weeks ago

Duplicate of https://github.com/infinitered/ignite/issues/2747

Please use yarn for now or install with the legacy peer deps flag as the above issue mentions

yashdesai87 commented 3 weeks ago

Thank you. Using yarn worked.